In the gzip library, what's the difference between "uncompress" and "gzopen"?

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?
+3
source share
1 answer

zlib. . : gzip zlib?

+2

Source: https://habr.com/ru/post/1730814/


All Articles