| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private int | |
| private static final int[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public long | |
| public void | |
| public void | update(int
the byte to update the checksum with b)Implements java. |
| public void | update(byte[]
the byte array to update the checksum with buffer, int the start offset of the data offset, int the number of bytes to use for the update length)Implements java. |
| BYTE_MASK | back to summary |
|---|---|
| private static final int BYTE_MASK | |
| crc | back to summary |
|---|---|
| private int crc | |
| CRC_TABLE | back to summary |
|---|---|
| private static final int[] CRC_TABLE | |
| LONG_MASK | back to summary |
|---|---|
| private static final long LONG_MASK | |
| Crc32c | back to summary |
|---|---|
| pack-priv Crc32c() | |
| crc32c | back to summary |
|---|---|
| private static int crc32c(int crc, int b) | |
| getValue | back to summary |
|---|---|
| public long getValue() Implements java. Doc from java. Returns the current checksum value.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements java. Doc from java. Resets the checksum to its initial value.
| |
| update | back to summary |
|---|---|
| public void update(int b) Implements java. Doc from java. Updates the current checksum with the specified byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] buffer, int offset, int length) Implements java. Doc from java. Updates the current checksum with the specified array of bytes.
| |