1 API

CRC CCITT

Eduardo Bellani <ebellani@gmail.com>

This package is obtaining the CRC CCITT for some vector of bytes.

Basically it mirrors Jack Klein’s library that can be found here.

For now there is only one version with the initial element being 0xFFFF.

    1 API

1 API

(crc-ccitt-checksum data)  (integer-in 0 65535)
  data : bytes?
Determines the checksum of data.
(crc-ccitt-checksum-bytes data)  (bytes-len=/c 2)
  data : bytes?
Returns the first 2 bytes of data.