Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions | Static Public Attributes

bdlde::Crc32c Struct Reference

#include <bdlde_crc32c.h>

List of all members.

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

Detailed Description

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

See Component bdlde_crc32c


Member Function Documentation

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.


Member Data Documentation

const unsigned int bdlde::Crc32c::k_NULL_CRC32C = 0U [static]

The documentation for this struct was generated from the following file: