fix compression
This commit is contained in:
@@ -16,14 +16,7 @@ namespace zlib {
|
||||
* \param buffer the data to compress
|
||||
* \return the compressed data
|
||||
*/
|
||||
DataBuffer Compress(const DataBuffer& buffer);
|
||||
|
||||
/**
|
||||
* \brief Reads the packet lenght and uncompress it
|
||||
* \param buffer the data to uncompress
|
||||
* \return the uncompressed data
|
||||
*/
|
||||
DataBuffer Decompress(DataBuffer& buffer);
|
||||
DataBuffer Compress(const DataBuffer& buffer, std::size_t a_CompressionThreshold = 64);
|
||||
|
||||
/**
|
||||
* \brief Uncompress some data
|
||||
|
||||
Reference in New Issue
Block a user