2015-08-18 00:25:24 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QByteArray>
|
|
|
|
|
2015-09-05 16:46:57 +00:00
|
|
|
#include "multimc_logic_export.h"
|
|
|
|
|
|
|
|
class MULTIMC_LOGIC_EXPORT GZip
|
2015-08-18 00:25:24 +00:00
|
|
|
{
|
|
|
|
public:
|
2015-09-14 00:36:03 +00:00
|
|
|
static bool unzip(const QByteArray &compressedBytes, QByteArray &uncompressedBytes);
|
|
|
|
static bool zip(const QByteArray &uncompressedBytes, QByteArray &compressedBytes);
|
2015-08-18 00:25:24 +00:00
|
|
|
};
|
|
|
|
|