There are some functions for unpacking in zlib library (zlib version 1.2.3)
I want to unzip the source zip file (.gz) using a function uncompress. It does not work (error code -3), but gzopen. It still doesn't work when I entered the payload pointer (passing the gzip header) to uncompress.
So the question is:
- What are the valid arguments for the uncompress function?
- If he needs a different format, how can I do it?
source
share