1 *java.util.zip.Checksum* *Checksum* An interface representing a data checksum.
3 public interface interface Checksum
6 |java.util.zip.Checksum_Description|
7 |java.util.zip.Checksum_Fields|
8 |java.util.zip.Checksum_Constructors|
9 |java.util.zip.Checksum_Methods|
11 ================================================================================
13 *java.util.zip.Checksum_Methods*
14 |java.util.zip.Checksum.getValue()|Returns the current checksum value.
15 |java.util.zip.Checksum.reset()|Resets the checksum to its initial value.
16 |java.util.zip.Checksum.update(byte[],int,int)|Updates the current checksum wit
17 |java.util.zip.Checksum.update(int)|Updates the current checksum with the speci
19 *java.util.zip.Checksum_Description*
21 An interface representing a data checksum.
24 *java.util.zip.Checksum.getValue()*
26 public long getValue()
28 Returns the current checksum value.
31 Returns: the current checksum value
32 *java.util.zip.Checksum.reset()*
36 Resets the checksum to its initial value.
39 *java.util.zip.Checksum.update(byte[],int,int)*
46 Updates the current checksum with the specified array of bytes.
48 b - the byte array to update the checksum with
49 off - the start offset of the data
50 len - the number of bytes to use for the update
52 *java.util.zip.Checksum.update(int)*
54 public void update(int b)
56 Updates the current checksum with the specified byte.
58 b - the byte to update the checksum with