iw4x-client/src/Utils/Compression.hpp
2018-12-17 15:34:28 +01:00

19 lines
286 B
C++

#pragma once
#define CHUNK 16384
#define DEFLATE_ZLIB false
#define DEFLATE_ZSTD true
namespace Utils
{
namespace Compression
{
class ZLib
{
public:
static std::string Compress(const std::string& data);
static std::string Decompress(const std::string& data);
};
};
}