19 lines
286 B
C++
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);
|
|
};
|
|
};
|
|
}
|