snappy-java
snappy-java copied to clipboard
IOException: invalid length:0 for chunk flag:0 when decompress
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?