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

bz3_compress generated file can not pass test #70

Closed
synodriver opened this issue Oct 30, 2022 · 3 comments
Closed

bz3_compress generated file can not pass test #70

synodriver opened this issue Oct 30, 2022 · 3 comments

Comments

@synodriver
Copy link

./bzip3 -t ./new.bin 
Failed to decode a block: Burrows-Wheeler transform failed

However, bz3_decompress can decompress that

@kspalaiologos
Copy link
Owner

kspalaiologos commented Oct 30, 2022

Expected behaviour; bzip3 command line tool and bz3_compress use a different frame format. This is because bzip3 the command line tool might not know the length of the data stream upfront and bz3_compress always knows it beforehand.

@synodriver
Copy link
Author

Ok, I see. Should we add a note for that?

@kspalaiologos
Copy link
Owner

I'm in process of adding relevant documentation.

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