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

Add support for non-direct ByteBuffers

Open nehaev opened this issue 4 years ago • 0 comments

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)

nehaev avatar Feb 28 '21 20:02 nehaev