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.
Parameters
Section titled “Parameters”Uint8Array
The bytes to check.
options?
Section titled “options?”Returns
Section titled “Returns”number
An unsigned 8-bit checksum.