1er commit
This commit is contained in:
14
include/misc/Compression.h
Normal file
14
include/misc/Compression.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include "network/DataBuffer.h"
|
||||
|
||||
namespace td {
|
||||
namespace utils {
|
||||
|
||||
DataBuffer Compress(const DataBuffer& buffer);
|
||||
DataBuffer Decompress(DataBuffer& buffer);
|
||||
DataBuffer Decompress(DataBuffer& buffer, std::size_t packetLength);
|
||||
|
||||
} // namespace utils
|
||||
} // namespace td
|
||||
Reference in New Issue
Block a user