7 #include <ff7tkutils_export.h>
9 class FF7TKUTILS_EXPORT
GZIP
20 static QByteArray decompress(
const QByteArray &data,
int decSize, Strategy strategy = StrategyDefault);
21 static QByteArray compress(
const QByteArray &ungzip,
int level = -1, Strategy strategy = StrategyDefault);
22 static QByteArray decompress(
const char *data,
int size,
int decSize, Strategy strategy = StrategyDefault);
23 static QByteArray compress(
const char *ungzip,
int size,
int level = -1, Strategy strategy = StrategyDefault);
24 static QByteArray decompress(
const QString &path,
int decSize, Strategy strategy = StrategyDefault);
25 static QByteArray decompressNoHeader(
const char *data,
int size);
26 static QByteArray compressNoHeader(
const char *data,
int size,
int level = -1);
27 static ulong crc(
const char *data,
int size);
29 static char strategyToChar(Strategy strategy);
30 static QString gzMode(
const char *mode,
int level = -1, Strategy strategy = StrategyDefault);