#include <bdlde_crc32c.h>
This class provides runtime-efficient utilities to calculate a CRC32-C checksum.
◆ calculate()
| 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.
◆ k_NULL_CRC32C
| const unsigned int bdlde::Crc32c::k_NULL_CRC32C = 0U |
|
static |
CRC32-C value for a 0 length input. Note that a buffer with this CRC32-C value need not be a 0 length input.
The documentation for this struct was generated from the following file: