class Poco::InflatingIOS
Overview
The base class for InflatingOutputStream and InflatingInputStream. Moreā¦
#include <InflatingStream.h> class InflatingIOS: public ios { public: // construction InflatingIOS( std::ostream& ostr, InflatingStreamBuf::StreamType type = InflatingStreamBuf::STREAM_ZLIB ); InflatingIOS( std::ostream& ostr, int windowBits ); InflatingIOS( std::istream& istr, InflatingStreamBuf::StreamType type = InflatingStreamBuf::STREAM_ZLIB ); InflatingIOS( std::istream& istr, int windowBits ); // methods InflatingStreamBuf* rdbuf(); protected: // fields InflatingStreamBuf _buf; }; // direct descendants class InflatingInputStream; class InflatingOutputStream;
Detailed Documentation
The base class for InflatingOutputStream and InflatingInputStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Construction
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.