BinaryCodable
BinaryCodable copied to clipboard
Swift Codable-like interfaces for binary representations.
A [.binarycookies file](https://github.com/interstateone/BinaryCookies#file-format) contains many pages of cookies, and the entire file contains a checksum near the end. The checksum is the sum of each page's checksum, which is the...
Hi @jverkoey, this is not an issue report but a question I'd like to ask. Why do you think we need an extra set of protocols to interact with binary...
It's currently possible for containers to be nested somewhat deeply as nested types are coded, potentially creating a non-trivial amount of cpu + memory overhead. Much of the container behavior...
BufferedData currently pulls data into a buffer that will increase in size indefinitely. This implementation should be replaced with a ring buffer that only grows if blocks of data are...
Prior to releasing 1.0 there should be a performance benchmark for encoding and decoding so that performance changes can be tracked over time.
The encoding and decoding implementations presently use a byte-level cursor. If bit coding is desired, however, the byte granularity makes requires that bits are packed and unpacked into bytes before...
Swift Codable is able to generate encoding and decoding implementations for free because of the availability of key/value containers. Binary Codable does not support key/value containers, so it is not...
Decoding a Data object, even one that's memory mapped, causes the entire file to be paged into memory which is costly for large files.