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

using the same byte slice for in and out #20

Open
oq-x opened this issue Sep 12, 2024 · 2 comments
Open

using the same byte slice for in and out #20

oq-x opened this issue Sep 12, 2024 · 2 comments

Comments

@oq-x
Copy link

oq-x commented Sep 12, 2024

is it possible? i try to do it and the data seems corrupted

@nirs
Copy link

nirs commented Oct 19, 2024

When writing decompressed data from the in buffer, you must write more data to the out buffer. If both are the same you will overwrite compressed data that you did not decompress yet.

@oq-x
Copy link
Author

oq-x commented Oct 19, 2024

Ok

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

2 participants