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

Support for non-legacy lz4 stream format #1

Open
mpartio opened this issue Dec 6, 2015 · 0 comments
Open

Support for non-legacy lz4 stream format #1

mpartio opened this issue Dec 6, 2015 · 0 comments

Comments

@mpartio
Copy link

mpartio commented Dec 6, 2015

Hi,

boost_lz4_filter does not support non-legacy lz4 stream format:

$ echo "This is a test file" > out.txt
$ lz4 out.txt out.txt.lz4
Compressed 20 bytes into 39 bytes ==> 195.00%                                  
$ ./lz4fcli -d < out.txt.lz4 > out
$ file out
out: empty

With legacy mode:

$ lz4 -l out.txt out.txt.lz4
Warning : out.txt.lz4 already exists
Overwrite ? (Y/N) : y
Compressed 20 bytes into 30 bytes ==> 150.00%                                  
$ ./lz4fcli -d < out.txt.lz4 > out
$ file out
out: ASCII text
$ cat out
This is a test file

$ lz4 -V
*** LZ4 Compression CLI 64-bits r124, by Yann Collet (Dec  6 2014) ***

According to the author of lz4, the legacy stream is deprecated and using it is not adviced. Any plans for adding support for this newer stream format?

Thanks,

Mikko

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