Class CRC
- java.lang.Object
-
- org.apache.commons.compress.compressors.bzip2.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 private static int[]
CRC32_TABLE
private int
m_globalCrc
-
Constructor Summary
Constructors Modifier Constructor Description protected
CRC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getFinalCRC()
(package private) void
initialiseCRC()
(package private) void
updateCRC(int inCh)
-