class IDecompressStream

Bases: istream

An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly.

Attach an IDecompressStream to an existing istream that provides compressed data, and read the corresponding uncompressed data from the IDecompressStream.

Seeking is not supported.

Inheritance diagram

Inheritance diagram of IDecompressStream

explicit IDecompressStream(std::istream *source, bool owns_source)
IDecompressStream &close(void)

Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true.

IDecompressStream &open(std::istream *source, bool owns_source)