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.
25 *java.util.zip.Checksum.getValue()*
27 public long getValue()
29 Returns the current checksum value.
33 Returns: the current checksum value
35 *java.util.zip.Checksum.reset()*
39 Resets the checksum to its initial value.
43 *java.util.zip.Checksum.update(byte[],int,int)*
50 Updates the current checksum with the specified array of bytes.
53 b - the byte array to update the checksum with
54 off - the start offset of the data
55 len - the number of bytes to use for the update
57 *java.util.zip.Checksum.update(int)*
59 public void update(int b)
61 Updates the current checksum with the specified byte.
64 b - the byte to update the checksum with