lz4mt icon indicating copy to clipboard operation
lz4mt copied to clipboard

Invalid Magic Number

Open Nitika123 opened this issue 6 years ago • 1 comments

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.

Nitika123 avatar Jul 24 '18 12:07 Nitika123

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.

Cyan4973 avatar Jul 30 '18 11:07 Cyan4973