iopipe.zip

Compression/decompression with iopipes.

Members

Enums

CompressionFormat
enum CompressionFormat

Enum for specifying the desired or expected compression format.

Functions

unzip
auto unzip(Chain c, CompressionFormat format)

Wrap an iopipe that contains compressed data into an iopipe containing the decompressed data. Data is not decompressed in place, so an extra buffer is created to hold it.

unzipSrc
auto unzipSrc(Chain c, CompressionFormat format)

Get a stream source that unzips an iopipe of ubytes. The source stream should be compressed in the appropriate format.

zip
auto zip(Chain c, CompressionFormat format)

Wrap an iopipe of ubytes into an iopipe containing the compressed data from that input. Data is not compressed in place, so an extra buffer is created to hold it.

zipSrc
auto zipSrc(Chain c, CompressionFormat format)

Get a stream source that compresses an iopipe of ubytes with the given format.

Meta

License

Boost License 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Authors

Steven Schveighoffer