public class CRC32 extends Object implements Checksum
InflaterInputStream,
DeflaterOutputStream| Constructor and Description |
|---|
CRC32() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public long getValue()
public void reset()
public void update(int bval)
public void update(byte[] buf,
int off,
int len)
public void update(byte[] buf)