22static constexpr auto compressMaxInputSize =
size_t{2113929216};
40auto Decompress(std::span<const char> src,
size_t maxDecompressedSize) -> std::vector<char>;
auto Decompress(std::span< const char > src, size_t maxDecompressedSize) -> std::vector< char >
Decompress a range of bytes compressed with LZ4/LZ4HC.
auto Compress(std::span< const char > src, CompressionLevel level=CompressionLevel::Default) -> std::vector< char >
Compress a range of bytes using LZ4/LZ4HC.
CompressionLevel
Option for influencing the compression ratio and speed of nc::Compress().
Definition: Compression.h:15