zlib c decompress
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));
精彩评论