UNPKG

@hqtsm/crc

Version:

CRC functions with a parameterized engine optimized for both speed and size

22 lines (18 loc) 278 B
/** * @module * * CRC-16/SPI-FUJITSU */ import { crc, type CrcInterface } from '../crc.js'; /** * CRC-16/SPI-FUJITSU */ export const CRC_16_SPI_FUJITSU = crc( 16, 0x1021, false, 0x1d0f, false, 0x0000, ) as CrcInterface<number>; export default CRC_16_SPI_FUJITSU;