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

Hi @mghicho, not really, but the current encoders can be used to encode e.g. an array or a map in a streaming manner by calling e.g. cbor_encode_indef_array_start and then encoding individual items and terminating, flushing buffers as needed. What would the API you have in mind look like? #175

Closed
janemba opened this issue Dec 19, 2020 · 0 comments

Comments

@janemba
Copy link

janemba commented Dec 19, 2020

Hi @mghicho, not really, but the current encoders can be used to encode e.g. an array or a map in a streaming manner by calling e.g. cbor_encode_indef_array_start and then encoding individual items and terminating, flushing buffers as needed. What would the API you have in mind look like?

Originally posted by @PJK in #146 (comment)

@janemba janemba closed this as completed Dec 19, 2020
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

1 participant