2015-08-18 01:25:24 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QByteArray>
|
|
|
|
|
2015-09-05 17:46:57 +01:00
|
|
|
#include "multimc_logic_export.h"
|
|
|
|
|
|
|
|
class MULTIMC_LOGIC_EXPORT GZip
|
2015-08-18 01:25:24 +01:00
|
|
|
{
|
|
|
|
public:
|
2018-07-15 13:51:05 +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
|
|
|
};
|
|
|
|
|