Murl::Util::CRC32Checksum Class Reference
The CRC32 checksum class. More...
#include "murl_util_checksum.h"
Public Member Functions | |
CRC32Checksum () | |
The default constructor. | |
UInt32 | Calculate (const void *srcData, UInt64 srcByteSize) |
Calculate the CRC32 checksum from a memory block. More... | |
UInt32 | Calculate (const ConstData &data) |
Calculate the CRC32 checksum from a data object. More... | |
String | CalculateHex (const String &srcString) |
Calculate the MD5 checksum from a string. More... | |
String | CalculateHex (const ConstData &data) |
Calculate the MD5 checksum from a data object. More... | |
String | GetChecksumHex () const |
Get the hex-encoded checksum string from the recent checksum calculation. More... | |
UInt32 | GetChecksum () const |
Get the checksum from the recent checksum calculation. More... | |
Detailed Description
The CRC32 checksum class.
Member Function Documentation
◆ Calculate() [1/2]
Calculate the CRC32 checksum from a memory block.
- Parameters
-
srcData Pointer to the source memory block. srcByteSize The byte size of the memory block.
- Returns
- The 32bit checksum value
◆ Calculate() [2/2]
Calculate the CRC32 checksum from a data object.
- Parameters
-
data The source data object.
- Returns
- The 32bit checksum value
◆ CalculateHex() [1/2]
Calculate the MD5 checksum from a string.
- Parameters
-
srcString The source string object.
- Returns
- The hex-encoded checksum string.
◆ CalculateHex() [2/2]
Calculate the MD5 checksum from a data object.
- Parameters
-
data The source data object.
- Returns
- The hex-encoded checksum string.
◆ GetChecksumHex()
String Murl::Util::CRC32Checksum::GetChecksumHex | ( | ) | const |
Get the hex-encoded checksum string from the recent checksum calculation.
- Returns
- The hex-encoded checksum string.
◆ GetChecksum()
UInt32 Murl::Util::CRC32Checksum::GetChecksum | ( | ) | const |
Get the checksum from the recent checksum calculation.
- Returns
- The 32bit checksum value
The documentation for this class was generated from the following file:
- murl_util_checksum.h