summaryrefslogtreecommitdiffstats
path: root/logic/GZip.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-14 02:25:47 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-14 02:25:47 +0200
commite38cc1d480fdcf3ad08829688fe1a61961612e36 (patch)
tree7a46b6fc20612275071b1e6028c981f0b7b754e8 /logic/GZip.h
parentcfd5976471f21d01ce4ba682e7508972ec5cb27b (diff)
downloadMultiMC-e38cc1d480fdcf3ad08829688fe1a61961612e36.tar
MultiMC-e38cc1d480fdcf3ad08829688fe1a61961612e36.tar.gz
MultiMC-e38cc1d480fdcf3ad08829688fe1a61961612e36.tar.lz
MultiMC-e38cc1d480fdcf3ad08829688fe1a61961612e36.tar.xz
MultiMC-e38cc1d480fdcf3ad08829688fe1a61961612e36.zip
GH-1227 add GZip compress function and a unit test fo GZip
Diffstat (limited to 'logic/GZip.h')
-rw-r--r--logic/GZip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/GZip.h b/logic/GZip.h
index 30f4f9b5..51be5ca1 100644
--- a/logic/GZip.h
+++ b/logic/GZip.h
@@ -7,5 +7,6 @@ class MULTIMC_LOGIC_EXPORT GZip
{
public:
static bool decompress(const QByteArray &compressedBytes, QByteArray &uncompressedBytes);
+ static bool compress(const QByteArray &uncompressedBytes, QByteArray &compressedBytes);
};