org.jbrain.qlink.util
Class CRC16

java.lang.Object
  |
  +--org.jbrain.qlink.util.CRC16
All Implemented Interfaces:
java.util.zip.Checksum

public class CRC16
extends java.lang.Object
implements java.util.zip.Checksum


Constructor Summary
CRC16()
           
 
Method Summary
 long getValue()
           
 void reset()
           
 void update(byte[] data, int start, int len)
           
 void update(int data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRC16

public CRC16()
Method Detail

getValue

public long getValue()
Specified by:
getValue in interface java.util.zip.Checksum

reset

public void reset()
Specified by:
reset in interface java.util.zip.Checksum

update

public void update(int data)
Specified by:
update in interface java.util.zip.Checksum

update

public void update(byte[] data,
                   int start,
                   int len)
Specified by:
update in interface java.util.zip.Checksum