Library: Foundation
Package: Streams
Header: Poco/InflatingStream.h
The base class for InflatingOutputStream and InflatingInputStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: InflatingOutputStream, InflatingInputStream
Member Functions: rdbuf
InflatingIOS(
std::ostream & ostr,
InflatingStreamBuf::StreamType type = InflatingStreamBuf::STREAM_ZLIB
);
Creates an InflatingIOS for expanding the compressed data passed through and forwarding it to the given output stream.
InflatingIOS(
std::ostream & ostr,
int windowBits
);
Creates an InflatingIOS for expanding the compressed data passed through and forwarding it to the given output stream.
Please refer to the zlib documentation of inflateInit2() for a description of the windowBits parameter.
InflatingIOS(
std::istream & istr,
InflatingStreamBuf::StreamType type = InflatingStreamBuf::STREAM_ZLIB
);
Creates an InflatingIOS for expanding the compressed data read from the given input stream.
InflatingIOS(
std::istream & istr,
int windowBits
);
Creates an InflatingIOS for expanding the compressed data read from the given input stream.
Please refer to the zlib documentation of inflateInit2() for a description of the windowBits parameter.
~InflatingIOS();
Destroys the InflatingIOS.
InflatingStreamBuf * rdbuf();
Returns a pointer to the underlying stream buffer.
InflatingStreamBuf _buf;