Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for non-direct ByteBuffers #277

Open
nehaev opened this issue Feb 28, 2021 · 0 comments
Open

Add support for non-direct ByteBuffers #277

nehaev opened this issue Feb 28, 2021 · 0 comments

Comments

@nehaev
Copy link

nehaev commented Feb 28, 2021

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants