3

I have a binary data which is a GZIP compressed string. Both header and footer are absent, but the string is otherwise correct. I verified this by using Node.js zlib.gzip() to compress the same string and then comparing the two binary files.

Is it possible to use zlib library to uncompress files without header and footer?

1 Answer 1

3

I think you want zlib.inflateRaw() and friends.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.