Construct a checksum corresponding to the specified data having the specified length (in bytes). Note that if data is 0, then length also must be 0.
Declared in <bdlde_crc32.h>
Crc32(
void const* data,
std::size_t length);
| Name | Description |
|---|---|
| data | memory region to checksum |
| length | number of bytes in data |