Skip to content

Streaming binary representations  #477

Description

@RaviGaddipati

Currently the CBOR and MessagePack requires a vector of bytes for reading/writing. It would be beneficial to enable byte by byte consumption, like in standard file streams. This helps prevent allocating more memory than necessary (large JSON files).

Looking at the implementation this doesn't seem like it would be too difficult, some additional checking would be needed to make sure enough bytes are available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions