LibreOffice Module package (master) 1
|
#include <Inflater.hxx>
Public Member Functions | |
Inflater (bool bNoWrap) | |
Provides general purpose decompression using the ZLIB library. More... | |
~Inflater () | |
void | setInput (const css::uno::Sequence< sal_Int8 > &rBuffer) |
bool | needsDictionary () const |
bool | finished () const |
sal_Int32 | doInflateSegment (css::uno::Sequence< sal_Int8 > &rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength) |
void | end () |
sal_Int32 | getLastInflateError () const |
Private Types | |
typedef struct z_stream_s | z_stream |
Private Member Functions | |
sal_Int32 | doInflateBytes (css::uno::Sequence< sal_Int8 > &rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength) |
Private Attributes | |
bool | bFinished |
bool | bNeedDict |
sal_Int32 | nOffset |
sal_Int32 | nLength |
sal_Int32 | nLastInflateError |
std::unique_ptr< z_stream > | pStream |
css::uno::Sequence< sal_Int8 > | sInBuffer |
Definition at line 31 of file Inflater.hxx.
|
private |
Definition at line 33 of file Inflater.hxx.
Inflater::Inflater | ( | bool | bNoWrap | ) |
Provides general purpose decompression using the ZLIB library.
Definition at line 29 of file Inflater.cxx.
Inflater::~Inflater | ( | ) |
Definition at line 56 of file Inflater.cxx.
References end().
|
private |
Definition at line 91 of file Inflater.cxx.
References bFinished, bNeedDict, nLastInflateError, nLength, nOffset, pStream, and sInBuffer.
Referenced by doInflateSegment().
sal_Int32 Inflater::doInflateSegment | ( | css::uno::Sequence< sal_Int8 > & | rBuffer, |
sal_Int32 | nNewOffset, | ||
sal_Int32 | nNewLength | ||
) |
Definition at line 69 of file Inflater.cxx.
References doInflateBytes().
Referenced by XUnbufferedStream::readBytes().
void Inflater::end | ( | ) |
|
inline |
Definition at line 46 of file Inflater.hxx.
Referenced by XUnbufferedStream::readBytes().
|
inline |
Definition at line 50 of file Inflater.hxx.
Referenced by XUnbufferedStream::readBytes().
|
inline |
Definition at line 45 of file Inflater.hxx.
Referenced by XUnbufferedStream::readBytes().
void Inflater::setInput | ( | const css::uno::Sequence< sal_Int8 > & | rBuffer | ) |
Definition at line 61 of file Inflater.cxx.
References nLength, nOffset, and sInBuffer.
Referenced by XUnbufferedStream::readBytes().
|
private |
Definition at line 35 of file Inflater.hxx.
Referenced by doInflateBytes().
|
private |
Definition at line 35 of file Inflater.hxx.
Referenced by doInflateBytes().
|
private |
Definition at line 36 of file Inflater.hxx.
Referenced by doInflateBytes().
|
private |
Definition at line 36 of file Inflater.hxx.
Referenced by doInflateBytes(), and setInput().
|
private |
Definition at line 36 of file Inflater.hxx.
Referenced by doInflateBytes(), and setInput().
|
private |
Definition at line 37 of file Inflater.hxx.
Referenced by doInflateBytes(), end(), and Inflater().
|
private |
Definition at line 38 of file Inflater.hxx.
Referenced by doInflateBytes(), and setInput().