C++ cross-platform zlib simplifer-wrapper

后端 未结 8 510
陌清茗
陌清茗 2020-12-17 20:26

I\'m looking for a wrapper that distills zlib to:

  1. OpenZipFile()
  2. GetItemInfo(n)
  3. UnzipItem(n) // Bonus points for unzipping recursively if ite
8条回答
  •  不思量自难忘°
    2020-12-17 21:12

    GZStream is worth a look. This is a nice cross-platform wrapper round ZLib which extend the STL iostream classes.

    http://www.cs.unc.edu/Research/compgeom/gzstream/

    What is good about this wrapper over some of the others is that if you're working with very large archives you don't need to load the whole dataset into memory.

提交回复
热议问题