public final class CrcUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
crc64(byte[] array)
Compute CRC64 checksum for byte[].
|
static long |
crc64(byte[] array,
int offset,
int length)
Compute CRC64 checksum for byte[].
|
static long |
crc64(ByteBuffer buf)
Compute CRC64 checksum for
ByteBuffer. |
public static long crc64(byte[] array)
array - source arraypublic static long crc64(byte[] array,
int offset,
int length)
array - source arrayoffset - starting position in the source arraylength - the number of array elements to be computedpublic static long crc64(ByteBuffer buf)
ByteBuffer.buf - source ByteBufferCopyright © 2024. All rights reserved.