summaryrefslogtreecommitdiffstats
path: root/api/logic/GZip.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/GZip.h')
-rw-r--r--api/logic/GZip.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/logic/GZip.h b/api/logic/GZip.h
new file mode 100644
index 00000000..6993a222
--- /dev/null
+++ b/api/logic/GZip.h
@@ -0,0 +1,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);
+};
+