iw4x-client/src/Utils/Compression.hpp

24 lines
354 B
C++
Raw Normal View History

2017-01-20 08:36:52 -05:00
#pragma once
2016-01-09 09:30:13 -05:00
#define CHUNK 16384
2016-01-04 18:49:34 -05:00
namespace Utils
{
namespace Compression
{
class ZLib
{
public:
static std::string Compress(std::string data);
static std::string Decompress(std::string data);
};
class ZStd
{
public:
static std::string Compress(std::string data);
static std::string Decompress(std::string data);
};
2016-01-04 18:49:34 -05:00
};
}