summaryrefslogtreecommitdiffstats
path: root/api/logic/GZip.h
blob: c7eddbb30082d5d5357efabbbaa1fcf145cfa952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <QByteArray>

#include "multimc_logic_export.h"

class MULTIMC_LOGIC_EXPORT GZip
{
public:
    static bool unzip(const QByteArray &compressedBytes, QByteArray &uncompressedBytes);
    static bool zip(const QByteArray &uncompressedBytes, QByteArray &compressedBytes);
};