loci.formats.in
Class CRC

java.lang.Object
  extended by loci.formats.in.CRC

public class CRC
extends Object

A simple class the hold and calculate the CRC for sanity checking of the data.


Field Summary
static int[] CRC_32_TABLE
           
 
Constructor Summary
CRC()
           
 
Method Summary
 int getFinalCRC()
           
 int getGlobalCRC()
           
 void initialiseCRC()
           
 void setGlobalCRC(int newCrc)
           
 void updateCRC(int inCh)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRC_32_TABLE

public static final int[] CRC_32_TABLE
Constructor Detail

CRC

public CRC()
Method Detail

initialiseCRC

public void initialiseCRC()

getFinalCRC

public int getFinalCRC()

getGlobalCRC

public int getGlobalCRC()

setGlobalCRC

public void setGlobalCRC(int newCrc)

updateCRC

public void updateCRC(int inCh)