20#ifndef INCLUDED_PACKAGE_DEFLATER_HXX
21#define INCLUDED_PACKAGE_DEFLATER_HXX
23#include <com/sun/star/uno/Sequence.hxx>
43 void init (sal_Int32 nLevel,
bool bNowrap);
44 sal_Int32 doDeflateBytes (css::uno::Sequence < sal_Int8 > &rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength);
48 Deflater(sal_Int32 nSetLevel,
bool bNowrap);
49 void setInputSegment(
const css::uno::Sequence< sal_Int8 >& rBuffer );
50 bool needsInput()
const;
53 sal_Int32 doDeflateSegment( css::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewLength );
54 sal_Int64 getTotalIn()
const;
55 sal_Int64 getTotalOut()
const;
FILE * init(int, char **)
std::unique_ptr< z_stream > pStream
struct z_stream_s z_stream
css::uno::Sequence< sal_Int8 > sInBuffer
#define DLLPUBLIC_PACKAGE