Save This Page
Home » openjdk-7 » sun » misc » [javadoc | source]
sun.misc
public class: CRC16 [javadoc | source]
java.lang.Object
   sun.misc.CRC16
The CRC-16 class calculates a 16 bit cyclic redundancy check of a set of bytes. This error detecting code is used to determine if bit rot has occured in a byte stream.
Field Summary
public  int value    value contains the currently computed CRC, set it to 0 initally 
Constructor:
 public CRC16() 
Method from sun.misc.CRC16 Summary:
reset,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.misc.CRC16 Detail:
 public  void reset() 
    reset CRC value to 0
 public  void update(byte aByte) 
    update CRC with byte b