Top Description Fields Constructors Methods
org.bouncycastle.apache.bzip2

pack-priv Class CRC

extends Object
Class Inheritance
Imports
org.bouncycastle.util.Integers

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

Field Summary

Modifier and TypeField and Description
private static final int[]
private int

Constructor Summary

AccessConstructor and Description
pack-priv
CRC()

Method Summary

Modifier and TypeMethod and Description
pack-priv int
pack-priv void
pack-priv void
update(int inCh)

pack-priv void
updateRun(int inCh, int runLength)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CRC32_TABLEback to summary
private static final int[] CRC32_TABLE
valueback to summary
private int value

Constructor Detail

CRCback to summary
pack-priv CRC()

Method Detail

getFinalback to summary
pack-priv int getFinal()
initialiseback to summary
pack-priv void initialise()
updateback to summary
pack-priv void update(int inCh)
updateRunback to summary
pack-priv void updateRun(int inCh, int runLength)