kspalaiologos / bzip3

A better and stronger spiritual successor to BZip2.
GNU Lesser General Public License v3.0
687 stars 38 forks source link

bz3_compress generated file can not pass test #70

Closed synodriver closed 1 year ago

synodriver commented 1 year ago
./bzip3 -t ./new.bin 
Failed to decode a block: Burrows-Wheeler transform failed

However, bz3_decompress can decompress that

kspalaiologos commented 1 year ago

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 commented 1 year ago

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

kspalaiologos commented 1 year ago

I'm in process of adding relevant documentation.