| java.lang.Object java.util.zip.CRC32
Method Summary | |
public long | getValue() Returns the CRC32 Checksum for all input received. | public void | reset() Returns the CRC32 checksum to it initial state. | public void | update(int val) | public void | update(byte[] buf) Updates this Checksum with the bytes contained in buffer buf. | public void | update(byte[] buf, int off, int nbytes) Updates this Checksum with nbytes of data from buffer buf, starting at
offset off. |
getValue | public long getValue()(Code) | | Returns the CRC32 Checksum for all input received.
The checksum for this instance |
reset | public void reset()(Code) | | Returns the CRC32 checksum to it initial state.
|
update | public void update(int val)(Code) | | Updates this Checksum with value val
|
update | public void update(byte[] buf)(Code) | | Updates this Checksum with the bytes contained in buffer buf.
Parameters: buf - Buffer to update Checksum |
update | public void update(byte[] buf, int off, int nbytes)(Code) | | Updates this Checksum with nbytes of data from buffer buf, starting at
offset off.
Parameters: buf - Buffer to update Checksum Parameters: off - Offset in buf to obtain data from Parameters: nbytes - Number of bytes to read from buf |
|
|