| |
|
| java.lang.Object java.util.zip.Adler32
Adler32 | public class Adler32 implements Checksum(Code) | | A class that can be used to compute the Adler-32 checksum of a data
stream. An Adler-32 checksum is almost as reliable as a CRC-32 but
can be computed much faster.
See Also: Checksum version: 1.35, 05/05/07 author: David Connelly |
Constructor Summary | |
public | Adler32() Creates a new Adler32 object. |
Method Summary | |
public long | getValue() Returns checksum value. | public void | reset() Resets checksum to initial value. | public void | update(int b) Updates checksum with specified byte. | public void | update(byte[] b, int off, int len) Updates checksum with specified array of bytes. | public void | update(byte[] b) Updates checksum with specified array of bytes. |
Adler32 | public Adler32()(Code) | | Creates a new Adler32 object.
|
getValue | public long getValue()(Code) | | Returns checksum value.
|
reset | public void reset()(Code) | | Resets checksum to initial value.
|
update | public void update(int b)(Code) | | Updates checksum with specified byte.
Parameters: b - an array of bytes |
update | public void update(byte[] b, int off, int len)(Code) | | Updates checksum with specified array of bytes.
|
update | public void update(byte[] b)(Code) | | Updates checksum with specified array of bytes.
|
|
|
|