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

Invalid Magic Number #36

Open
Nitika123 opened this issue Jul 24, 2018 · 1 comment
Open

Invalid Magic Number #36

Nitika123 opened this issue Jul 24, 2018 · 1 comment

Comments

@Nitika123
Copy link

I have used https://github.com/lz4/lz4-java for compression of data. I am decompressing the data with your library. When I decompress it shows invalid magic number.

The data I am using to decompress is "\F8\00\81\A2\n\DC\00�\B40.05346�\00\CB4\A42.43\A268\A14\C0�\00\90\A820170820" which is stored in a .txt file.

@Cyan4973
Copy link

Cyan4973 commented Jul 30, 2018

lz4mt produces and decodes lz4 frame format compliant files and bytestreams.

Reading your traces, data to decompress is not compliant with this format.
It could be that data generated using lz4-java is using its own (different) frame format.

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