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 read after flush/close #173

Open
mattias-lundell opened this issue Feb 24, 2022 · 0 comments
Open

Problem with read after flush/close #173

mattias-lundell opened this issue Feb 24, 2022 · 0 comments

Comments

@mattias-lundell
Copy link

mattias-lundell commented Feb 24, 2022

Found something that seems like a regression. The use case is that you have an underlying buffer wrapped by the lz4 writer that you write to a bit and then flush/close, then you open a new writer around the buffer and write some more. This works well on
github.com/pierrec/lz4 but it fails on github.com/pierrec/lz4/v4. See the sandbox links for example.

ok: https://go.dev/play/p/39movQ38d3J

fail: https://go.dev/play/p/xKGvNhe9xcj

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