| java.lang.Object | |
| ↳ | java.util.zip.CRC32 |
The CRC32 class is used to compute a CRC32 checksum from data provided as
input value. See also Adler32 which is almost as good, but cheaper.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the CRC32 checksum for all input received.
| |||||||||||
Resets the CRC32 checksum to it initial state.
| |||||||||||
Update this
CRC32 checksum with the contents of buf,
starting from offset and reading byteCount bytes of data.
| |||||||||||
Updates this checksum with the byte value provided as integer.
| |||||||||||
Updates this checksum with the bytes contained in buffer
buf.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.zip.Checksum
| |||||||||||
Returns the CRC32 checksum for all input received.
Update this CRC32 checksum with the contents of buf,
starting from offset and reading byteCount bytes of data.
| buf | the byte array from which to read the bytes. |
|---|---|
| offset | the initial position in buf to read the bytes from. |
| byteCount | the number of bytes to read from buf.
|
Updates this checksum with the byte value provided as integer.
| val | represents the byte to update the checksum. |
|---|
Updates this checksum with the bytes contained in buffer buf.
| buf | the buffer holding the data to update the checksum with. |
|---|