BinaryCodable icon indicating copy to clipboard operation
BinaryCodable copied to clipboard

Swift Codable-like interfaces for binary representations.

Results 9 BinaryCodable issues
Sort by recently updated
recently updated
newest added

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...

feature request

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...

question

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...

feature request

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...

feature request

Prior to releasing 1.0 there should be a performance benchmark for encoding and decoding so that performance changes can be tracked over time.

feature request

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...

feature request

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...

feature request

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.