10 class Compressor
: public QObject
15 Compressor(QIODevice
* device
, int compression
= Z_DEFAULT_COMPRESSION
);
18 int write(const QByteArray
&);
24 int write(const QByteArray
&, bool flush
);
28 z_stream
* zlib_stream_
;
32 class Decompressor
: public QObject
37 Decompressor(QIODevice
* device
);
40 int write(const QByteArray
&);
46 int write(const QByteArray
&, bool flush
);
50 z_stream
* zlib_stream_
;