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

Streaming API #1

Open
ssokolow opened this issue Aug 11, 2022 · 1 comment
Open

Streaming API #1

ssokolow opened this issue Aug 11, 2022 · 1 comment

Comments

@ssokolow
Copy link

I'm taking a look at binhex4's API and I already see something that's less than optimal. The current API design requires size_of_raw_binhex_text + size_of_decoded_data RAM to operate.

Would you be willing to change the hexbin function to operate in a streaming manner? (i.e. Take anything that implements the Read trait as input and implement Read similar to something like BufReader or flate2::read::GzDecoder)

If not, I'd be willing to take a crack at it... just not right now because the project where I need a BinHex4 decoder is on hold while I work on more pressing ones.

@nramos0
Copy link
Owner

nramos0 commented Aug 11, 2022

Thanks for pointing this out, will take a look at implementing a solution for this problem soon

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