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