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

Problem with LZFDecoder.decode() #15

Closed
cowtowncoder opened this issue Jan 4, 2012 · 1 comment
Closed

Problem with LZFDecoder.decode() #15

cowtowncoder opened this issue Jan 4, 2012 · 1 comment

Comments

@cowtowncoder
Copy link
Contributor

(via email by T.Effland)

Please check the Wrapper function in LZFDecoder

public static byte[] decode(final byte[] inputBuffer, int inputPtr, int inputLen) throws IOException {
return ChunkDecoderFactory.optimalInstance().decode(inputBuffer);
}

I think the parameters int inputPtr, int inputLen should also be used!

@cowtowncoder
Copy link
Contributor Author

Added unit test to verify (which actually found a secondary problem related to offsets), fixed; will be included in 0.9.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant