-
update
public void update(byte[] b,
int off,
int len)
Updates the checksum with the specified array of bytes.
-
Specified by:
-
update in interface Checksum
-
Parameters:
-
b - the byte array to update the checksum with
-
off - the start offset of the data
-
len - the number of bytes to use for the update
-
Throws:
-
ArrayIndexOutOfBoundsException - if off is negative, or len is negative, or off+len is greater than the length of the array b
|
-
update
public void update(byte[] b,
int off,
int len)
Updates the checksum with the specified array of bytes.
-
Specified by:
-
update in interface Checksum
-
Parameters:
-
b - the byte array to update the checksum with
-
off - the start offset of the data
-
len - the number of bytes to use for the update
-
Throws:
-
ArrayIndexOutOfBoundsException - if off is negative, or len is negative, or off+len is negative or greater than the length of the array b .
|