Replies: 1 comment
-
I don't think there is an official 'validate' call in Gzip, and thus would think decompression is the only way to validate a Gzip stream. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My sqlite-compression extension needs to support gzip testing in addition to compression/decompression. Currently I do it with
decode(data).is_ok()
, but that causes a lot of unnecessary memory allocation and possibly other steps. Is there a way to efficiently validate the content of the gzip stream without allocating/re-allocating output buffers?Beta Was this translation helpful? Give feedback.
All reactions