public static class Checksum.CRC32C extends Object implements Checksum, Checksum.Hasher
Checksum.Hasher.| Constructor and Description |
|---|
CRC32C() |
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
void |
reset()
Resets the hasher for further use.
|
byte[] |
sum()
Completes the hash computation by performing final operations such as padding.
|
String |
toString() |
void |
update(byte[] b,
int off,
int len)
Updates len bytes from the specified byte array starting at offset off to this hasher.
|
void |
update(int b) |
public void update(byte[] b,
int off,
int len)
Checksum.Hasherupdate in interface Checksum.Hasherupdate in interface Checksumpublic void reset()
Checksum.Hasherreset in interface Checksum.Hasherreset in interface Checksumpublic byte[] sum()
Checksum.Hashersum in interface Checksum.Hasher