Skip to content

crc_32

crc_32(data, options?): number

Defined in: checksum/crc_32.ts:35

Computes a 32-bit CRC of data (CRC-32/ISO-HDLC by default, CRC-32C on request).

Complexity: O(n) in the byte length of data.

Uint8Array

The bytes to check.

CrcOptions

number

An unsigned 32-bit checksum.