mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 14:14:34 +02:00
12 lines
342 B
C++
12 lines
342 B
C++
#pragma once
|
|
#include <QByteArray>
|
|
#include <QFile>
|
|
|
|
namespace GZip {
|
|
|
|
bool unzip(const QByteArray& compressedBytes, QByteArray& uncompressedBytes);
|
|
bool zip(const QByteArray& uncompressedBytes, QByteArray& compressedBytes);
|
|
QString readGzFileByBlocks(QFile* source, std::function<bool(const QByteArray&)> handleBlock);
|
|
|
|
} // namespace GZip
|