CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoType::CRCGenerator Class Reference

#include <cartotype_base.h>

Public Member Functions

 CRCGenerator ()
uint32_t Generate (uint32_t aStartValue, const uint8_t *aData, size_t aLength) const

Detailed Description

A class to create CRCs (cyclical redundancy check hash values).

Constructor & Destructor Documentation

◆ CRCGenerator()

CartoType::CRCGenerator::CRCGenerator ( )

Creates a CRC generator.

Member Function Documentation

◆ Generate()

uint32_t CartoType::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.

The documentation for this class was generated from the following files: