const crc16 = require('./crc16');
var check = crc16(new Uint8Array([
0x11, 0x01, 0x03, 0x53, 0x54, 0x90, 0x90, 0x00, 0x43, 0x17, 0x70, 0x03, 0x32, 0x01, 0x00, 0x3b,
]));
console.log(check.toString(16)); // crc16 in HEX
calculate the 16-bit CRC of data with predetermined length.
License
donvercety/node-crc16
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
calculate the 16-bit CRC of data with predetermined length.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published