Class AbstractIoUringStreamChannel.ByteBufWritableByteChannel

java.lang.Object
io.netty.channel.uring.AbstractIoUringStreamChannel.ByteBufWritableByteChannel
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, WritableByteChannel
Enclosing class:
AbstractIoUringStreamChannel

private static final class AbstractIoUringStreamChannel.ByteBufWritableByteChannel extends Object implements WritableByteChannel
A WritableByteChannel backed by a ByteBuf. Writes are capped to ByteBuf.writableBytes() to prevent overflow when FileRegion.transferTo(WritableByteChannel, long) writes more than the chunk size.