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

Use zlib-rs as primary deflate backend #222

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

hasenbanck
Copy link
Collaborator

@hasenbanck hasenbanck commented Dec 31, 2024

This fixes the issue we had with the "data\wav\worm_tail_damage.wav" sound file that can't be read with miniz_oxide of libflate.

Interestingly, the trait BufRead is implemented for &[u8] and the internals of read_to_end() essentially handles the writing into uninitialized memory of the Vector extremely efficiently then.

This fixes the issue we had with the "data\wav\worm_tail_damage.wav" sound file that can't be read with miniz_oxide of libflate.

Interestingly, the trait BufRead is implemented for `&[u8]` and the internals of `read_to_end()` essentially handles the writing into uninitialized memory of the Vector extremely efficiently then.
@hasenbanck hasenbanck merged commit 39603d5 into vE5li:main Jan 1, 2025
3 checks passed
@hasenbanck hasenbanck deleted the update_deflate branch January 1, 2025 09:03
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

Successfully merging this pull request may close these issues.

1 participant