开发者

zlib c decompress

开发者 https://www.devze.com 2023-02-02 09:57 出处:网络
I\'m looking for a simple C Wrapper of zlib, to decompress a b开发者_运维技巧yte array. Anyone knows one ?By wrapper function, you probably mean some simpler to use, more self-contained functions?

I'm looking for a simple C Wrapper of zlib, to decompress a b开发者_运维技巧yte array. Anyone knows one ?


By wrapper function, you probably mean some simpler to use, more self-contained functions?

Zlib contains them. Have a look in the manual under "Utility Functions".

You're probably look for:

ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
                                   const Bytef *source, uLong sourceLen));
0

精彩评论

暂无评论...
验证码 换一张
取 消