Class CRC
- java.lang.Object
-
- org.apache.commons.compress.compressors.bzip2.CRC
-
final class CRC extends java.lang.ObjectA simple class the hold and calculate the cyclic redundancy check (CRC) for sanity checking of the data.
-
-
Field Summary
Fields Modifier and Type Field Description private intcrcprivate static int[]CRC32_TABLEprivate static intDEFAULT
-
Constructor Summary
Constructors Constructor Description CRC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intcompute(int baseCrc, int inCh)(package private) intgetValue()(package private) voidreset()(package private) voidupdate(int inCh)(package private) voidupdate(int inCh, int repeat)
-
-
-
Field Detail
-
DEFAULT
private static final int DEFAULT
- See Also:
- Constant Field Values
-
CRC32_TABLE
private static final int[] CRC32_TABLE
-
crc
private int crc
-
-