CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_base.h>
Public Member Functions | |
CRCGenerator () | |
uint32_t | Generate (uint32_t aStartValue, const uint8_t *aData, size_t aLength) const |
A class to create CRCs (cyclical redundancy check hash values).
CartoTypeCore::CRCGenerator::CRCGenerator | ( | ) |
Creates a CRC generator.
uint32_t CartoTypeCore::CRCGenerator::Generate | ( | uint32_t | aStartValue, |
const uint8_t * | aData, | ||
size_t | aLength | ||
) | const |
Generates a CRC from a block of data using a specified start value, which may be the CRC of a previous block.