BinaryCoder icon indicating copy to clipboard operation
BinaryCoder copied to clipboard

An example implementation of Swift.Codable using a simple binary format

Results 4 BinaryCoder issues
Sort by recently updated
recently updated
newest added

In the Array.init(fromBinary:) extension, the array elements should likewise be initialized with init(fromBinary:), not init(from:) as in the code. As it is, array elements are decoded by the implicit decoder...

- Added a .gitignore file to prevent pulling in tons of new Xcode project files - Updated Array encoding extension for Swift 4.2 Builds without warnings. All tests pass.

@mikeash getting the following compile errors building this project. ``` Swift Compiler Error Group BinaryCodableExtensions.swift:6:1: Type 'Element' does not conform to protocol 'Decodable' BinaryCodableExtensions.swift:6:1: 'BinaryDecodable' requires that 'Element' conform to...

Added conditional conformance to Array type to avoid compile time error.