lz4 / lz4-java

LZ4 compression for Java
Apache License 2.0
1.11k stars 252 forks source link

Fix LZ4{Block|Frame}InputStream.skip in some corner cases #120

Closed windie closed 6 years ago

windie commented 6 years ago

According to InputStream.skip javadoc, LZ4{Block|Frame}InputStream.skip should return 0 when n <= 0 or EOF.

odaira commented 6 years ago

Yes..., I think you are correct. Thanks for the fix!