crc32 overloads

Synopses

Declared in <llvm/Support/CRC.h>

Compute the CRC‐32 of Data.

uint32_t
crc32(ArrayRef<uint8_t> Data);

Compute a running CRC‐32 over Data from a previous checksum.

uint32_t
crc32(
    uint32_t CRC,
    ArrayRef<uint8_t> Data);

Return Value

  • The CRC‐32 checksum of Data.

  • The updated CRC‐32 checksum.

Parameters

Name

Description

Data

Bytes to checksum.

CRC

Previous CRC‐32 value to continue from.

Created with MrDocs