zipios::InflateInputStreambuf - InflateInputStreambuf is an input stream filter, that inflates the input
Contents
Constructor & Destructor Documentation
zipios::InflateInputStreambuf::InflateInputStreambuf(streambuf*inbuf,ints_pos=-1,booldel_inbuf=false)[explicit]InflateInputStreambuf constructor.
Parametersinbuf the streambuf to use for input.
s_pos a position to reset the inbuf to before reading. Specify -1 to read from the current position.
del_inbuf if true is specified inbuf will be deleted, when the InflateInputStreambuf is destructed.
Definition at line 18 of file inflateinputstreambuf.cpp.
Detailed Description
InflateInputStreambuf is an input stream filter, that inflates the input from the attached input stream.
Deflation/Inflation is a compression/decompression method used in gzip and zip. The zlib library is used
to perform the actual inflation, this class only wraps the functionality in an input stream filter.
Definition at line 22 of file inflateinputstreambuf.h.
Member Function Documentation
boolzipios::InflateInputStreambuf::reset(intstream_position=-1)
Resets the zlib stream and purges input and output buffers. repositions the input streambuf at
stream_position.
Parametersstream_position a position to reset the inbuf to before reading. Specify -1 to read from the current
position.
Definition at line 117 of file inflateinputstreambuf.cpp.
Name
zipios::InflateInputStreambuf - InflateInputStreambuf is an input stream filter, that inflates the input
from the attached input stream.
Synopsis
#include <inflateinputstreambuf.h>
Inherits zipios::FilterInputStreambuf.
Inherited by zipios::ZipInputStreambuf.
PublicMemberFunctionsInflateInputStreambuf (streambuf *inbuf, int s_pos=-1, bool del_inbuf=false)
InflateInputStreambuf constructor.
bool reset (int stream_position=-1)
Resets the zlib stream and purges input and output buffers.
ProtectedMemberFunctions
virtual int underflow ()
ProtectedAttributes
const int _outvecsize
vector< char > _outvec