- Enclosing class:
- ManagedBuffer<T extends Buffer>
public class ManagedBuffer.ByteBufferView extends Object
A read-only view of the managed buffer’s content (backing buffer) and a reference to the managed buffer.
Can be used if several consumers need the same content.
Method SummaryModifier and TypeMethodDescription
get()Returns the managed buffer that this reader is a view of.
getpublic ByteBuffer get()
managedBufferpublic ManagedBuffer<ByteBuffer> managedBuffer()Returns the managed buffer that this reader is a view of.
- the managed buffer