CRC-16
Calculates the 16-bit cyclic redundancy check (CRC) used in IrDA & PPP.
Install
$ npm install --save get-port
Usage
// For node@4.4var crc16 = ; // Calculate the CRC of a simple two-byte buffervar buf = 0x00 0x00;var crc = ; console; //=> crc: <Buffer 0x47 0x0f>
License
MIT