org.codehaus.plexus.archiver.bzip2

Class CRC


(package private) class CRC
extends java.lang.Object

A simple class the hold and calculate the CRC for sanity checking of the data.
Version:
$Revision: 2436 $ $Date: 2005-09-01 13:20:41 -0400 (Thu, 01 Sep 2005) $ from org.apache.ant.tools.bzip2.CRC v1.9

Field Summary

static int[]
crc32Table
(package private) int
globalCrc

Constructor Summary

CRC()

Method Summary

(package private) int
getFinalCRC()
(package private) int
getGlobalCRC()
(package private) void
initialiseCRC()
(package private) void
setGlobalCRC(int newCrc)
(package private) void
updateCRC(int inCh)

Field Details

crc32Table

public static int[] crc32Table

globalCrc

(package private)  int globalCrc

Constructor Details

CRC

public CRC()

Method Details

getFinalCRC

(package private)  int getFinalCRC()

getGlobalCRC

(package private)  int getGlobalCRC()

initialiseCRC

(package private)  void initialiseCRC()

setGlobalCRC

(package private)  void setGlobalCRC(int newCrc)

updateCRC

(package private)  void updateCRC(int inCh)