Replies: 1 comment 2 replies
-
@vajexal Ah, so it slaps on an empty block with predefined table. But yeah, we will not have all the 10 bits, so it wouldn't be something we could do automatically. Actually adding the option is a bit more annoying, since they are returning an interface. I am not a fan of "yet another New only for this", and adding an interface seems annoying to use. I think a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
problem: data written with zlib's
Z_PARTIAL_FLUSH
can't be read because decompressor returns only afterZ_SYNC_FLUSH
block or data end (not taking into account internal buffer flush). Maybe flush mode parameter could be added to decompressor? Using this parameter we could control finishBlock method to return after each block. Something likeNew constructor (something like
NewPartialBlockReader
) will be neededcode to test
Beta Was this translation helpful? Give feedback.
All reactions