public static int crc32(ByteBuf buf) {
        return crc32(buf, buf.readableBytes());
    }
Get CRC32 of the given ByteBuf from current reader index to the end.
This method will not change the reader index of the given ByteBuf.
s3stream/src/main/java/com/automq/stream/s3/wal/util/WALUtil.java