We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in version 0.4, Snappy.Java line 62.
if (read != STREAM_HEADER.length || read != HEADER_BYTES.length) { throw new IllegalArgumentException("invalid header"); }
Is the logic valid? The condition will always be false so I always get an exception.
Should it be:
if (read != STREAM_HEADER.length && read != HEADER_BYTES.length) { throw new IllegalArgumentException("invalid header"); }
The text was updated successfully, but these errors were encountered:
Ya that is totally wrong. We have moved future development to https://github.com/airlift/aircompressor
But I'll fix this here also
Sorry, something went wrong.
Note location of future development
dd4738c
Based on dain's comment in dain#34, note that this project has been obsoleted by aircompressor.
8e212de
Based on dain's comment in #34, note that this project has been obsoleted by aircompressor.
No branches or pull requests
in version 0.4, Snappy.Java line 62.
if (read != STREAM_HEADER.length || read != HEADER_BYTES.length) {
throw new IllegalArgumentException("invalid header");
}
Is the logic valid? The condition will always be false so I always get an exception.
Should it be:
if (read != STREAM_HEADER.length && read != HEADER_BYTES.length) {
throw new IllegalArgumentException("invalid header");
}
The text was updated successfully, but these errors were encountered: