Skip to content

crc_16

crc_16(data, options?): number

Defined in: checksum/crc_16.ts:63

Computes a 16-bit CRC of data (CRC-16/CCITT-FALSE by default).

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

Uint8Array

The bytes to check.

CrcOptions

number

An unsigned 16-bit checksum.