@xstd/crc1
v1.0.0
Published
crc1 function
Downloads
4
Readme
@xstd/crc1
A simple crc1 function.
📦 Installation
yarn add @xstd/crc1
# or
npm install @xstd/crc1 --save📜 Documentation
Computes the crc1 of a list of u8:
function crc1(values: ArrayLike<number>): number;Example
import { crc1 } from '@xstd/crc1';
const crc: number /* u8 */ = crc1([1, 2]);
console.log(crc); // 3