@Override
    public ByteBuf setMedium(int index, int value) {
        buf.setMedium(index, value);
        return this;
    }
Modify base on io.netty.buffer.WrappedByteBuf
Wraps another {@link ByteBuf}.
<p>
It's important that the {@link #readerIndex()} and {@link #writerIndex()} will not do any adjustments on the
indices on the fly because of internal optimizations made by {@link ByteBufUtil#writeAscii(ByteBuf, CharSequence)}
and {@link ByteBufUtil#writeUtf8(ByteBuf, CharSequence)}.
s3stream/src/main/java/com/automq/stream/WrappedByteBuf.java