| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public void | |
| public void | update(int
the byte to update the checksum with b)Implements java. |
| public void | update(byte[]
the byte array to update the checksum with b, int the start offset of the data off, int the number of bytes to use for the update len)Implements java. |
| public void |
| checksum | back to summary |
|---|---|
| private final Checksum checksum | |
| BufferChecksum | back to summary |
|---|---|
| pack-priv BufferChecksum(Checksum checksum) | |
| getValue | back to summary |
|---|---|
| public long getValue() Implements java. Doc from java. Returns the current checksum value.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements java. Doc from java. Resets the checksum to its initial value.
| |
| update | back to summary |
|---|---|
| public void update(int b) Implements java. Doc from java. Updates the current checksum with the specified byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] b, int off, int len) Implements java. Doc from java. Updates the current checksum with the specified array of bytes.
| |
| update | back to summary |
|---|---|
public void update(Buffer b, int off, int len)
| |