Uses of Interface
io.netty5.buffer.BufferComponent
-
Packages that use BufferComponent Package Description io.netty5.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty5.buffer.internal Internal implementation details that can be shared among Buffer implementations. -
-
Uses of BufferComponent in io.netty5.buffer
Classes in io.netty5.buffer with type parameters of type BufferComponent Modifier and Type Interface Description interfaceComponentIterator<T extends ComponentIterator.Next & BufferComponent>A facade for iterating the readable or writable components of aBuffer.Methods in io.netty5.buffer with type parameters of type BufferComponent Modifier and Type Method Description <T extends BufferComponent & ComponentIterator.Next>
ComponentIterator<T>Buffer. forEachComponent()Create a component iterator for all components in this buffer.<T extends BufferComponent & ComponentIterator.Next>
ComponentIterator<T>BufferStub. forEachComponent()<N extends ComponentIterator.Next & BufferComponent>
NComponentIterator.Next. next()Get the next component of the iteration, ornullif there are no more components.default <N extends ComponentIterator.Next & BufferComponent>
NComponentIterator.Next. nextReadable()Get the next component of the iteration that has any bytes to read, ornullif there are no components with any readable bytes.default <N extends ComponentIterator.Next & BufferComponent>
NComponentIterator.Next. nextWritable()Get the next component of the iteration that has any space for writing bytes, ornullif there are no components with any spare capacity.Methods in io.netty5.buffer that return BufferComponent Modifier and Type Method Description BufferComponentBufferComponent. skipReadableBytes(int byteCount)Move the read-offset to indicate that the given number of bytes were read from this component.BufferComponentBufferComponent. skipWritableBytes(int byteCount)Move the write-offset to indicate that the given number of bytes were written to this component. -
Uses of BufferComponent in io.netty5.buffer.internal
Methods in io.netty5.buffer.internal with parameters of type BufferComponent Modifier and Type Method Description static ByteBufferInternalBufferUtils. tryGetWritableBufferFromReadableComponent(BufferComponent component)
-