public static long bytesToBlocks(long bytes) {
        return bytes % BLOCK_SIZE == 0 ? bytes / BLOCK_SIZE : bytes / BLOCK_SIZE + 1;
    }
Get CRC32 of the given ByteBuf from current reader index to the given length.
This method will not change the reader index of the given ByteBuf.
s3stream/src/main/java/com/automq/stream/s3/wal/util/WALUtil.java