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.
-
-
Field Summary
Fields Modifier and Type Field Description private static int[]
crc32Table
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)
(package private) void
updateCRC(int inCh, int repeat)
-