9.2. Compressed File Functions
The functions in this section use one of two compression libraries: zlib or bzip2. The zlib library is the same used by GNU compression tools, such as gzip, written by Jean-loup Gaill and Mark Adler. You can obtain more information and the library itself from the zlib home page <http://www.cdrom.com/pub/infozip/zlib/>. The bzip2 library was written by Julian Seward and powers the bzip2 command-line utility. You can read more about it on the bzip2 home page <http://sources.redhat.com/bzip2/>.
Most of the functions for reading and writing files are duplicated here, and they operate similarly. One difference is the lack of support for specifying files using HTTP or FTP protocol.
Functions that compress and decompress ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access