Function mrpt::io::zip::compress_gz_file

Function Documentation

bool mrpt::io::zip::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). compress_level: 0=no compression, 1=best speed, 9=maximum

Returns:

true on success, false on error.