snappy-java icon indicating copy to clipboard operation
snappy-java copied to clipboard

IOException: invalid length:0 for chunk flag:0 when decompress

Open darouwan opened this issue 8 years ago • 0 comments

I compressed some data to a file using SnappyFramedOutputStream, and now decompress it with SnappyFramedInputStream. However, it throw an IOException: invalid length:0 for chunk flag:0 .

Only this file has this exception, so it seems damaged while being compressed.

So any method to recovery this file? If no, any way to verify the compressed file after compressing it?

darouwan avatar Jul 28 '17 01:07 darouwan