|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoeq.ClassLib.Common.java.util.zip.CRC32
public abstract class CRC32
CRC32
| Constructor Summary | |
|---|---|
CRC32()
|
|
| Method Summary | |
|---|---|
long |
getValue()
Returns the CRC32 data checksum computed so far. |
void |
reset()
Resets the CRC32 data checksum as if no update was ever called. |
void |
update(byte[] buf)
Adds the complete byte array to the data checksum. |
void |
update(byte[] buf,
int off,
int len)
Adds the byte array to the data checksum. |
void |
update(int bval)
Updates the checksum with the int bval. |
| 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 long getValue()
getValue in interface Checksumpublic void reset()
reset in interface Checksumpublic void update(int bval)
update in interface Checksumbval - (the byte is taken as the lower 8 bits of bval)
public void update(byte[] buf,
int off,
int len)
update in interface Checksumbuf - the buffer which contains the dataoff - the offset in the buffer where the data startslen - the length of the datapublic void update(byte[] buf)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||