- add compressed network messages for nmtLaunch and nmtBroadCastSetup (not backward compatible)

This commit is contained in:
SoftCoder
2015-12-31 13:12:26 -08:00
parent 888254400e
commit eb15f8d701
4 changed files with 124 additions and 7 deletions

View File

@@ -20,6 +20,8 @@ namespace Shared{ namespace CompressionUtil{
bool compressFileToZIPFile(string inFile, string outFile, int compressionLevel=5);
bool extractFileFromZIPFile(string inFile, string outFile);
std::pair<unsigned char *,unsigned long> compressMemoryToMemory(unsigned char *input, unsigned long input_len, int compressionLevel=5);
std::pair<unsigned char *,unsigned long> extractMemoryToMemory(unsigned char *input, unsigned long input_len, unsigned long max_output_len);
}};