Go to the documentation of this file.
26 void* inData,
size_t inDataSize, std::vector<unsigned char>& outData);
30 const std::vector<unsigned char>& inData,
31 std::vector<unsigned char>& outData);
43 void* inData,
size_t inDataSize, std::vector<unsigned char>& outData,
44 size_t outDataEstimatedSize);
51 void* inData,
size_t inDataSize,
void* outData,
size_t outDataBufferSize,
52 size_t& outDataActualSize);
60 size_t outDataBufferSize,
size_t& outDataActualSize);
77 const int compress_level = 9);
88 const std::vector<uint8_t>& in_data, std::vector<uint8_t>& out_gz_data,
89 const int compress_level = 9);
98 const std::vector<uint8_t>& in_gz_data, std::vector<uint8_t>& out_data);
bool decompress_gz_file(const std::string &file_path, std::vector< uint8_t > &buffer)
Decompress a gzip file (xxxx.gz) into a memory buffer.
bool compress_gz_file(const std::string &file_path, const std::vector< uint8_t > &buffer, const int compress_level=9)
Compress a memory buffer into a gzip file (xxxx.gz).
mrpt::io::CStream CStream
void compress(void *inData, size_t inDataSize, std::vector< unsigned char > &outData)
Compress an array of bytes into another one.
void decompress(void *inData, size_t inDataSize, std::vector< unsigned char > &outData, size_t outDataEstimatedSize)
Decompress an array of bytes into another one.
bool compress_gz_data_block(const std::vector< uint8_t > &in_data, std::vector< uint8_t > &out_gz_data, const int compress_level=9)
Compress a memory buffer in gz-file format and return it as a block a memory.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool decompress_gz_data_block(const std::vector< uint8_t > &in_gz_data, std::vector< uint8_t > &out_data)
Decompress an array of bytes storing a gz-compressed stream of data into a memory buffer.
GLsizei const GLchar ** string
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |