Function mrpt::io::zip::decompress_gz_file

Function Documentation

bool mrpt::io::zip::decompress_gz_file(const std::string &file_path, std::vector<uint8_t> &buffer)

Decompress a gzip file (xxxx.gz) into a memory buffer. If the file is not a .gz file, it just read the whole file unmodified.

Returns:

true on success, false on error.