public static long compute(byte[] bytes, int offset, int size) {
        Checksum crc = create();
        crc.update(bytes, offset, size);
        return crc.getValue();
    }
Compute the CRC32C (Castagnoli) of the segment of the byte array given by the specified size and offset

@param bytes The bytes to checksum
@param offset the offset at which to begin the checksum computation
@param size the number of bytes to checksum
@return The CRC32C
clients/src/main/java/org/apache/kafka/common/utils/Crc32C.java