sourCEntral - mobile manpages

pdf

MTBL_CRC32C

NAME

mtbl_crc32c − calculate CRC32C checksum

SYNOPSIS

#include <mtbl.h>

uint32_t mtbl_crc32c(const uint8_t *buffer, size_t length);

DESCRIPTION

The mtbl_crc32c() function calculates the CRC32C checksum of a sequence of bytes of length length. The buffer argument points to the start of the sequence.

RETURN VALUE

The CRC32C checksum.

pdf