public interface DataBuffer
| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Returns the length of the data.
|
Object |
getNettyOutput()
Returns an object for writing to a netty channel.
|
ByteBuffer |
getReadOnlyByteBuffer()
Returns a
ByteBuffer for read-only access to the data. |
void |
release()
Release the underlying buffer of this DataBuffer if no longer needed.
|
Object getNettyOutput()
long getLength()
ByteBuffer getReadOnlyByteBuffer()
ByteBuffer for read-only access to the data.void release()
Copyright © 2015. All Rights Reserved.