tags:

views:

75

answers:

1

There are some functions to decompress in zlib library(zlib version 1.2.3)

I want to decompress my source zip(.gz) file using 'uncompress' function. It is now working(error code -3) but gzopen is.

It is still not working when I input payload pointer(passing gzip header) to 'uncompress' . So the question is

"What's the valid arguments for uncompress function?"

and If it needs different format, how can I make it?

Google doesn't helpful this time :(

A: 

You have to use some poorly documented features of the zlib library. See my answer to this question for more information: How can I decompress a gzip stream with zlib?

Greg Hewgill