首页| 行业标准| 论文文档| 电子资料| 图纸模型
购买积分 购买会员 激活码充值

您现在的位置是:团子下载站 > 压缩解压 > 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
  • 上传时间:2021-04-28
  • 下载次数:0次
  • 浏览次数:29次
  • 资源积分: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