0.0.5 • Published 5 years ago

node-redis-crc16 v0.0.5

Weekly downloads
22
License
-
Repository
github
Last release
5 years ago

node-redis-crc16

CRC16 CCIT Xmodem hash which working properly with redis-cluster and UNICODE

Forked from:

crc-itu Build Status

Install:

npm install node-redis-crc16 --save

Usage:

var crc16 = require('node-redis-crc16').crc16;

// with string and encoding
var ret = crc16('0d0103588990501766460026', 'hex');
console.log(ret.toString(16)); // e7a5

// with buffer
var buff = new Buffer('0d0103588990501766460026', 'hex');
var ret = crc16(buff);
console.log(ret.toString(16)); // e7a5
0.0.5

5 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago