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

bzip2file stream for reading #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jorisbontje
Copy link

@jorisbontje jorisbontje commented Oct 11, 2018

Useful when processing .bz2 compressed logfiles. Not sure if bzip2 support truly belongs in this package, then again the interface is similar to gzipfiles.

@eclairevoyant
Copy link

I don't think this will get accepted as is - one big issue I notice is the types are wrong.
For example, BZ2_bzread() in the C lib does not return an int32, so bz2read() in the binding shouldn't either.

Not sure if you used a tool to generate the bindings, but I'd suggest starting with something like c2nim.

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

Successfully merging this pull request may close these issues.

2 participants