2015-08-18 01:25:24 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QByteArray>
|
|
|
|
|
2021-07-25 18:11:59 +01:00
|
|
|
class GZip
|
2015-08-18 01:25:24 +01:00
|
|
|
{
|
|
|
|
public:
|
2015-09-14 01:36:03 +01:00
|
|
|
static bool unzip(const QByteArray &compressedBytes, QByteArray &uncompressedBytes);
|
|
|
|
static bool zip(const QByteArray &uncompressedBytes, QByteArray &compressedBytes);
|
2015-08-18 01:25:24 +01:00
|
|
|
};
|
|
|
|
|