Package com.webcodepro.shrinkit
Class CRC16
java.lang.Object
com.webcodepro.shrinkit.CRC16
- All Implemented Interfaces:
Checksum
Crc16: Calculate 16-bit Cyclic Redundancy Check.
License: GPL, incorporated by reference.
-
Constructor Details
-
CRC16
public CRC16()
-
-
Method Details
-
getTable
public static int[] getTable() -
getValue
public long getValue() -
reset
public void reset() -
update
public void update(int b) Update 16-bit CRC. -
update
public void update(byte[] b) Update 16-bit CRC. -
update
public void update(byte[] b, int off, int len) Update 16-bit CRC.
-