首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > We often get questions about how the deflate() and inflate() functions should be used. Users wonder

We often get questions about how the deflate() and inflate() functions should be used. Users wonder

  • 资源大小:595 K
  • 上传时间:2022-05-28
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: functions questions deflate inflate

资 源 简 介

We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.164983s