Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add provisions for incremental encode/decode #1

Open
agentm opened this issue Jun 4, 2018 · 1 comment
Open

add provisions for incremental encode/decode #1

agentm opened this issue Jun 4, 2018 · 1 comment

Comments

@agentm
Copy link

agentm commented Jun 4, 2018

This looks like an interesting new serialization strategy and I am looking for a new storage backend. Could the library be used for serializing lists of X incrementally via streams or would the top-level schema interfere with that?

@fumieval
Copy link
Owner

fumieval commented Jun 4, 2018

That is not supported by the library itself because it makes sense only on top level, and the functions operates on strict ByteStrings. I think it's easy to implement it orthogonally; the winery command line tool uses a format where payloads are prefixed by their length, in decimals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants