Compression Functions
Data compression functions. More...
Collaboration diagram for Compression Functions:
Functions | |
Bool | Murl::Util::Compress (const ConstData &uncompressedIn, Data &compressedOut) |
Compress a given data object using ZLib with IEnums::COMPRESSION_LEVEL_DEFAULT. More... | |
Bool | Murl::Util::Compress (const ConstData &uncompressedIn, Data &compressedOut, IEnums::CompressionLevel compressionLevel) |
Compress a given data object using ZLib with a specified compression level. More... | |
Bool | Murl::Util::Uncompress (const ConstData &compressedIn, Data &uncompressedOut) |
Uncompress a given data object using ZLib. More... | |
Detailed Description
Data compression functions.
Function Documentation
◆ Compress() [1/2]
Compress a given data object using ZLib with IEnums::COMPRESSION_LEVEL_DEFAULT.
- Parameters
-
uncompressedIn The source data object to compress. compressedOut A reference to an empty Data object to receive the compressed data.
- Returns
- true if successful.
◆ Compress() [2/2]
Bool Murl::Util::Compress | ( | const ConstData & | uncompressedIn, |
Data & | compressedOut, | ||
IEnums::CompressionLevel | compressionLevel | ||
) |
Compress a given data object using ZLib with a specified compression level.
- Parameters
-
uncompressedIn The source data object to compress. compressedOut A reference to an empty Data object to receive the compressed data. compressionLevel The compression level.
- Returns
- true if successful.
◆ Uncompress()
Uncompress a given data object using ZLib.
- Parameters
-
compressedIn The source data object to decompress. uncompressedOut A reference to an empty Data object to receive the uncompressed data.
- Returns
- true if successful.