How to decompress gzipstream with zlib

后端 未结 4 1094
走了就别回头了
走了就别回头了 2020-12-20 22:01

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.

I\

4条回答
  •  不思量自难忘°
    2020-12-20 22:33

    Have a look at the zlib usage example. http://www.zlib.net/zpipe.c

    The function that does the real work is inflate(), but you need inflateInit() etc.

提交回复
热议问题