|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.zip.CRC32
A class that can be used to compute the CRC-32 of a data stream.
Checksum
Constructor Summary | |
CRC32()
Creates a new CRC32 class. |
Method Summary | |
long |
getValue()
Returns CRC-32 value. |
void |
reset()
Resets CRC-32 to initial value. |
void |
update(byte[] b)
Updates checksum with specified array of bytes. |
void |
update(byte[] b,
int off,
int len)
Updates CRC-32 with specified array of bytes. |
void |
update(int b)
Updates CRC-32 with specified byte. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CRC32()
Method Detail |
public void update(int b)
public void update(byte[] b, int off, int len)
public void update(byte[] b)
public void reset()
public long getValue()
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |