Library: Foundation
Package: Streams
Header: Poco/DeflatingStream.h
This stream compresses all data passing through it using zlib's deflate algorithm.
Direct Base Classes: DeflatingIOS, std::istream
All Base Classes: DeflatingIOS, std::ios, std::istream
Inherited Functions: rdbuf
DeflatingInputStream(
std::istream & istr,
DeflatingStreamBuf::StreamType type = DeflatingStreamBuf::STREAM_ZLIB,
int level = (- 1)
);
Creates a DeflatingIOS for compressing data read from the given input stream.
DeflatingInputStream(
std::istream & istr,
int windowBits,
int level
);
Creates a DeflatingIOS for compressing data read from the given input stream.
Please refer to the zlib documentation of deflateInit2() for a description of the windowBits parameter.
Destroys the DeflatingInputStream.