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

C-API #4

Open
yoshuawuyts opened this issue Jul 6, 2018 · 1 comment
Open

C-API #4

yoshuawuyts opened this issue Jul 6, 2018 · 1 comment

Comments

@yoshuawuyts
Copy link
Contributor

In order to make a non-allocation version of this API, we need one new API:

  • .read_to_vec(), takes the range & vec to fill. Returns Result<()>
@yoshuawuyts
Copy link
Contributor Author

Figured instead we could require impl Writer, so it works with a bunch of different structs -- not just Vec.

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