Skip to content

Commit

Permalink
Formatting code: Add file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaRU committed Feb 3, 2024
1 parent a5c6ad3 commit 563e7ab
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Decoder/CDRDecoder.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRDecoder.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

/// An object that decodes instances of a data type from Common Data Representation binary.
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Decoder/KeyedDecodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// KeyedDecodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDRDecoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Decoder/SingleValueDecodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// SingleValueDecodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDRDecoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Decoder/UnkeyedDecodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// UnkeyedDecodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDRDecoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Encoder/CDREncoder.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDREncoder.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

/**
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Encoder/KeyedEncodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// KeyedEncodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDREncoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Encoder/SingleValueEncodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// SingleValueEncodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDREncoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Encoder/UnkeyedEncodingContainer.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// UnkeyedEncodingContainer.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import Foundation

extension _CDREncoder {
Expand Down
5 changes: 5 additions & 0 deletions Sources/CDRCodable/Numeric+Bytes.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// Numeric+Bytes.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

extension Numeric {
var bytes: [UInt8] {
withUnsafeBytes(of: self, Array.init)
Expand Down
5 changes: 5 additions & 0 deletions Tests/CDRCodableTests/CDRCodableDecodingTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRCodableDecodingTests.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import XCTest
@testable import CDRCodable

Expand Down
5 changes: 5 additions & 0 deletions Tests/CDRCodableTests/CDRCodableEncodingTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRCodableEncodingTests.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import XCTest
@testable import CDRCodable

Expand Down
5 changes: 5 additions & 0 deletions Tests/CDRCodableTests/CDRCodableFixedArrayTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRCodableFixedArrayTests.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import XCTest
@testable import CDRCodable

Expand Down
5 changes: 5 additions & 0 deletions Tests/CDRCodableTests/CDRCodablePerformanceTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRCodablePerformanceTests.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import XCTest
@testable import CDRCodable

Expand Down
5 changes: 5 additions & 0 deletions Tests/CDRCodableTests/CDRCodableRoundTripTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/////
//// CDRCodableRoundTripTests.swift
/// Copyright © 2024 Dmitriy Borovikov. All rights reserved.
//

import XCTest
@testable import CDRCodable

Expand Down

0 comments on commit 563e7ab

Please sign in to comment.