public class CRC64
extends java.lang.Object
implements java.util.zip.Checksum
| Constructor and Description |
|---|
CRC64()
Initialize with a value of zero.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
combine(long crcLast,
long crcNext,
long len2) |
long |
getValue()
Get long representation of current CRC64 value.
|
void |
reset() |
void |
update(byte[] b,
int len)
Update CRC64 with new byte block.
|
void |
update(byte[] b,
int off,
int len) |
void |
update(int val) |
public static long combine(long crcLast,
long crcNext,
long len2)
public long getValue()
getValue in interface java.util.zip.Checksumpublic void reset()
reset in interface java.util.zip.Checksumpublic void update(int val)
update in interface java.util.zip.Checksumpublic void update(byte[] b,
int len)
public void update(byte[] b,
int off,
int len)
update in interface java.util.zip.Checksum