| java.lang.Object java.util.zip.Adler32
Adler32 | public class Adler32 implements java.util.zip.Checksum(Code) | | The Adler32 class is used to compute the Adler32 Checksum from a set of data.
|
Method Summary | |
public long | getValue() | public void | reset() | public void | update(int i) Update this Adler32 checksum using val. | public void | update(byte[] buf) Update this Adler32 checksum using the contents of buf. | public void | update(byte[] buf, int off, int nbytes) Update this Adler32 checksum with the contents of buf, starting from
offset and using nbytes of data. |
getValue | public long getValue()(Code) | | Returns the Adler32 checksum for all input received
The checksum for this instance |
reset | public void reset()(Code) | | Reset this instance to its initial checksum
|
update | public void update(int i)(Code) | | Update this Adler32 checksum using val.
Parameters: i - byte to update checksum with |
update | public void update(byte[] buf)(Code) | | Update this Adler32 checksum using the contents of buf.
Parameters: buf - bytes to update checksum with |
update | public void update(byte[] buf, int off, int nbytes)(Code) | | Update this Adler32 checksum with the contents of buf, starting from
offset and using nbytes of data.
Parameters: buf - buffer to obtain dat from Parameters: off - offset i buf to copy from Parameters: nbytes - number of bytes from buf to use |
|
|