Functions | ||||
| void MRPTDLLIMPEXP | compress (void *inData, size_t inDataSize, std::vector< unsigned char > &outData) | |||
| Compress an array of bytes into another one. | ||||
| void MRPTDLLIMPEXP | compress (const std::vector< unsigned char > &inData, std::vector< unsigned char > &outData) | |||
| Compress an array of bytes into another one. | ||||
| void MRPTDLLIMPEXP | compress (void *inData, size_t inDataSize, CStream &out) | |||
| Compress an array of bytes and write the result into a stream. | ||||
| void MRPTDLLIMPEXP | compress (const std::vector< unsigned char > &inData, CStream &out) | |||
| Compress an array of bytes and write the result into a stream. | ||||
| void MRPTDLLIMPEXP | decompress (void *inData, size_t inDataSize, std::vector< unsigned char > &outData, size_t outDataEstimatedSize) | |||
Decompress an array of bytes into another one
| ||||
| void MRPTDLLIMPEXP | decompress (void *inData, size_t inDataSize, void *outData, size_t outDataBufferSize, size_t &outDataActualSize) | |||
Decompress an array of bytes into another one
| ||||
| void MRPTDLLIMPEXP | decompress (CStream &inStream, size_t inDataSize, void *outData, size_t outDataBufferSize, size_t &outDataActualSize) | |||
Decompress an array of bytes into another one
| ||||
| bool MRPTDLLIMPEXP | decompress_gz_file (const std::string &file_path, vector_byte &buffer) | |||
| Decompress a gzip file (xxxx.gz) into a memory buffer. | ||||
| bool MRPTDLLIMPEXP | compress_gz_file (const std::string &file_path, const vector_byte &buffer, const int compress_level=9) | |||
| Compress a memory buffer into a gzip file (xxxx.gz). | ||||
| void MRPTDLLIMPEXP mrpt::compress::zip::compress | ( | const std::vector< unsigned char > & | inData, | |
| CStream & | out | |||
| ) |
Compress an array of bytes and write the result into a stream.
| void MRPTDLLIMPEXP mrpt::compress::zip::compress | ( | void * | inData, | |
| size_t | inDataSize, | |||
| CStream & | out | |||
| ) |
Compress an array of bytes and write the result into a stream.
| void MRPTDLLIMPEXP mrpt::compress::zip::compress | ( | const std::vector< unsigned char > & | inData, | |
| std::vector< unsigned char > & | outData | |||
| ) |
Compress an array of bytes into another one.
| void MRPTDLLIMPEXP mrpt::compress::zip::compress | ( | void * | inData, | |
| size_t | inDataSize, | |||
| std::vector< unsigned char > & | outData | |||
| ) |
Compress an array of bytes into another one.
| bool MRPTDLLIMPEXP mrpt::compress::zip::compress_gz_file | ( | const std::string & | file_path, | |
| const vector_byte & | 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
| void MRPTDLLIMPEXP mrpt::compress::zip::decompress | ( | CStream & | inStream, | |
| size_t | inDataSize, | |||
| void * | outData, | |||
| size_t | outDataBufferSize, | |||
| size_t & | outDataActualSize | |||
| ) |
Decompress an array of bytes into another one
| std::exception | If the apriori estimated decompressed size is not enought. |
| void MRPTDLLIMPEXP mrpt::compress::zip::decompress | ( | void * | inData, | |
| size_t | inDataSize, | |||
| void * | outData, | |||
| size_t | outDataBufferSize, | |||
| size_t & | outDataActualSize | |||
| ) |
Decompress an array of bytes into another one
| std::exception | If the apriori estimated decompressed size is not enought. |
| void MRPTDLLIMPEXP mrpt::compress::zip::decompress | ( | void * | inData, | |
| size_t | inDataSize, | |||
| std::vector< unsigned char > & | outData, | |||
| size_t | outDataEstimatedSize | |||
| ) |
Decompress an array of bytes into another one
| std::exception | If the apriori estimated decompressed size is not enought. |
| bool MRPTDLLIMPEXP mrpt::compress::zip::decompress_gz_file | ( | const std::string & | file_path, | |
| vector_byte & | 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.
| Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:07:47 EST 2009 |