public static long alignNextBlock(long offset) {
        return offset % BLOCK_SIZE == 0 ? offset + BLOCK_SIZE : offset + BLOCK_SIZE - offset % BLOCK_SIZE;
    }
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