FileDocCategorySizeDatePackage
Checksum.javaAPI DocJava SE 5 API1035Fri Aug 26 14:57:28 BST 2005java.util.zip

Checksum

public interface Checksum
An interface representing a data checksum.
version
1.16, 12/19/03
author
David Connelly

Fields Summary
Constructors Summary
Methods Summary
public longgetValue()
Returns the current checksum value.

return
the current checksum value

public voidreset()
Resets the checksum to its initial value.

public voidupdate(int b)
Updates the current checksum with the specified byte.

param
b the byte to update the checksum with

public voidupdate(byte[] b, int off, int len)
Updates the current checksum with the specified array of bytes.

param
b the byte array to update the checksum with
param
off the start offset of the data
param
len the number of bytes to use for the update