Can someone tell me which function I need to use in order to decompress a byte array that has been compressed with vb.net\'s gzipstream. I would like to use zlib.
You need to use inflateInit2() to request gzip decoding. Read the documentation in zlib.h.
There is a lot of sample code in the zlib distribution. Also take a look at this heavily documented example of zlib usage. You can modify that one to use inflateInit2() instead of inflateInit().