1
#ifndef ZLIBCOMPRESSOR_H
2
#define ZLIBCOMPRESSOR_H
10
class ZLibCompressor : public QObject
15
ZLibCompressor(QIODevice* device, int compression = Z_DEFAULT_COMPRESSION);
18
int write(const QByteArray&);
24
int write(const QByteArray&, bool flush);
28
z_stream* zlib_stream_;