public static long crc64(final byte[] array, final int offset, final int length) {
        final CRC64 crc64 = CRC_64_THREAD_LOCAL.get();
        crc64.update(array, offset, length);
        final long ret = crc64.getValue();
        crc64.reset();
        return ret;
    }
Compute CRC64 checksum for byte[].

@param array  source array
@param offset starting position in the source array
@param length the number of array elements to be computed
@return checksum value
jraft-core/src/main/java/com/alipay/sofa/jraft/util/CrcUtil.java