java.util.zip.Checksum |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the current calculated checksum value.
|
||||||||||
|
Resets the checksum value applied before beginning calculations on a new
stream of data.
|
||||||||||
|
Updates the checksum with the given bytes.
|
||||||||||
|
Updates the checksum value with the given byte.
|
Returns the current calculated checksum value.
Resets the checksum value applied before beginning calculations on a new stream of data.
Updates the checksum with the given bytes.
buf | the byte array from which to read the bytes. |
---|---|
off |
the initial position in
buf
to read the bytes from.
|
nbytes |
the number of bytes to read from
buf
.
|
Updates the checksum value with the given byte.
val | the byte to update the checksum with. |
---|