BloombergLP::bdlde::Crc32c

This class provides runtime-efficient utilities to calculate a CRC32-C checksum.

Synopsis

Declared in <bdlde_crc32c.h>

struct Crc32c;

Static Member Functions

NameDescription
calculate Return the CRC32-C value calculated for the specified data over the specified length number of bytes, using the optionally specified crc value as the starting point for the calculation. Note that if data is 0, then length also must be 0.

Static Data Members

NameDescription
k_NULL_CRC32C CRC32-C value for a 0 length input. Note that a buffer with this CRC32-C value need not be a 0 length input.