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

Generic HashWriter that can call finish on inner writer #63

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Conversation

unkcpz
Copy link
Owner

@unkcpz unkcpz commented Jan 28, 2025

Implement a generic type of HashWriter that can call finish() of ZlibEncoder in writer impl before compute digest.

This is to manifest and for testing issue report at rust-lang/flate2-rs#446

@unkcpz unkcpz marked this pull request as draft January 28, 2025 00:18
@unkcpz unkcpz marked this pull request as ready for review January 28, 2025 11:17
@unkcpz unkcpz force-pushed the zlib-issue branch 2 times, most recently from 68eea56 to 9819f3f Compare January 28, 2025 11:19
see rust-lang/flate2-rs#447

Take the actually hash writer buffer read size in to account solve the
issue.
@unkcpz unkcpz merged commit a8ae816 into main Jan 28, 2025
18 checks passed
@unkcpz unkcpz deleted the zlib-issue branch January 28, 2025 11:40
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