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

Decode with endOnOutputSize #61

Closed
gibbed opened this issue Oct 11, 2021 · 1 comment
Closed

Decode with endOnOutputSize #61

gibbed opened this issue Oct 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@gibbed
Copy link

gibbed commented Oct 11, 2021

It doesn't appear that decoding with endOnOutputSize is exposed. Is there any plan to make this available?

I'm after partial decoding of data, where I know the uncompressed and compressed sizes, but would like to do partial decoding to get at a file header before I choose to decode the entire file. Currently if I try to do this with LZ4Codec.Decode it returns -1 without any bytes written to my output buffer.

The relevant underlying C# implementation is all set to internal, so I can't just readily use that without making my own build of this library, I think.

@MiloszKrajewski MiloszKrajewski added the enhancement New feature or request label Oct 11, 2021
@MiloszKrajewski
Copy link
Owner

MiloszKrajewski commented Oct 3, 2023

Release in v1.3.7-beta (see #90)

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

No branches or pull requests

2 participants