We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
是的。 Zlib 就是其中之一。
还有这个相关问题关于如何更轻松方便地处理gzip文件在C++中。最值得注意和最新的建议似乎是 Boost.IOStreams 中的 GZip 过滤器,我自己对此有很好的经验。
Yes. Zlib is the one.
There is also this related question on how to process gzip files more easily and conveniently in C++. The most notable and up to date suggestion seems to be the GZip filters in Boost.IOStreams, which I have good experience with myself.
是的,当然, zlib 是基本库,它具有网页上列出的其他语言的附加绑定,例如 gzstream 为
gz*
函数提供 C++ 包装器。zlib 作为一个 C 语言库,也具有极高的可移植性和跨平台性。请参阅网页以获取 Solaris、SCO、BeOS、MaxOS、OS/2 (!!)、Palm Pilot、Newton (!!)、Windows CE (!!)、Blackberry、Windows、.Net、... 版本的链接。
Yes, sure, zlib is the basic library and it has additional bindings other languages as listed on the webpage as eg gzstream providing a C++ wrapper to the
gz*
functions.zlib, being a C-language library, is also extremely portable and cross-platform. See the webpage for links to Solaris, SCO, BeOS, MaxOS, OS/2 (!!), Palm Pilot, Newton (!!), Windows CE (!!), Blackberry, Windows, .Net, ... versions.
如果您对 Boost 的魔力感兴趣,请查看 Boost 的 流过滤器,可任意组合、级联;有对 gzip、DEFLATE(即 GZip 减去标头)和 bzip2 的内置支持。非常方便。
If you're interested in the magic of Boost, check out Boost's stream filters which can be arbitrarily combined and cascaded; there's built-in support for gzip, DEFLATE (that's GZip minus the header) and bzip2. Very handy.