Quick Links: |
#include <bdlde_crc32c.h>
Static Public Member Functions | |
static unsigned int | calculate (const void *data, bsl::size_t length, unsigned int crc=k_NULL_CRC32C) |
Static Public Attributes | |
static const unsigned int | k_NULL_CRC32C = 0U |
This class provides runtime-efficient utilities to calculate a CRC32-C checksum.
static unsigned int bdlde::Crc32c::calculate | ( | const void * | data, | |
bsl::size_t | length, | |||
unsigned int | crc = k_NULL_CRC32C | |||
) | [static] |
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.
const unsigned int bdlde::Crc32c::k_NULL_CRC32C = 0U [static] |