Skip to content

crc_8

crc_8(data, options?): number

Defined in: checksum/crc_8.ts:53

Computes an 8-bit CRC of data (plain CRC-8 by default).

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

Uint8Array

The bytes to check.

CrcOptions

number

An unsigned 8-bit checksum.