snappy-java
snappy-java copied to clipboard
Add support for non-direct ByteBuffers
Currently (v1.1.8.4) snappy-java fails to use non-direct ByteBuffers with the following exception thrown:
org.xerial.snappy.SnappyError: [NOT_A_DIRECT_BUFFER] input is not a direct buffer
at org.xerial.snappy.Snappy.compress(Snappy.java:141)