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:
|
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
|
|
|
};
|
|
|
|
|