Combine two CRC‐32C checksums into one, like crc32_combine() but using the CRC‐32C polynomial.

Synopsis

Declared in <folly/hash/Checksum.h>

uint32_t
crc32c_combine(
    uint32_t crc1,
    uint32_t crc2,
    size_t crc2len);

Return Value

Combined CRC‐32C checksum over both buffers

Parameters

Name

Description

crc1

CRC‐32C checksum of the first buffer

crc2

CRC‐32C checksum of the second buffer

crc2len

Length of the second buffer (in bytes)

Created with MrDocs