Package gov.nih.mipav.model.file
Class CRC
- java.lang.Object
-
- gov.nih.mipav.model.file.CRC
-
class CRC extends java.lang.Object
A simple class the hold and calculate the CRC for sanity checking of the data.- Author:
- Keiron Liddle
-
-
Field Summary
Fields Modifier and Type Field Description static int[]
crc32Table
(package private) int
globalCrc
-
Constructor Summary
Constructors Constructor Description CRC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getFinalCRC()
(package private) int
getGlobalCRC()
(package private) void
initialiseCRC()
(package private) void
setGlobalCRC(int newCrc)
(package private) void
updateCRC(int inCh)
-