public interface CrailBuffer
| Modifier and Type | Method and Description |
|---|---|
long |
address() |
int |
capacity() |
CrailBuffer |
clear() |
CrailBuffer |
flip() |
byte |
get() |
CrailBuffer |
get(byte[] bytes) |
CrailBuffer |
get(byte[] buf,
int off,
int bufferRemaining) |
CrailBuffer |
get(ByteBuffer buf) |
ByteBuffer |
getByteBuffer() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
CrailBuffer |
getRegion() |
short |
getShort() |
boolean |
hasRemaining() |
int |
limit() |
CrailBuffer |
limit(int newLimit) |
int |
position() |
CrailBuffer |
position(int newPosition) |
ByteBuffer |
put(byte b) |
CrailBuffer |
put(byte[] bytes) |
CrailBuffer |
put(byte[] dataBuf,
int off,
int bufferRemaining) |
CrailBuffer |
put(ByteBuffer buf) |
CrailBuffer |
putDouble(double value) |
CrailBuffer |
putFloat(float value) |
CrailBuffer |
putInt(int value) |
CrailBuffer |
putLong(long value) |
CrailBuffer |
putShort(short value) |
int |
remaining() |
CrailBuffer |
slice() |
int capacity()
int position()
CrailBuffer position(int newPosition)
int limit()
CrailBuffer limit(int newLimit)
CrailBuffer clear()
CrailBuffer flip()
int remaining()
boolean hasRemaining()
CrailBuffer slice()
long address()
CrailBuffer getRegion()
ByteBuffer getByteBuffer()
byte get()
ByteBuffer put(byte b)
CrailBuffer get(byte[] buf, int off, int bufferRemaining)
CrailBuffer put(byte[] dataBuf, int off, int bufferRemaining)
CrailBuffer get(byte[] bytes)
CrailBuffer put(byte[] bytes)
short getShort()
CrailBuffer putShort(short value)
int getInt()
CrailBuffer putInt(int value)
long getLong()
CrailBuffer putLong(long value)
float getFloat()
CrailBuffer putFloat(float value)
double getDouble()
CrailBuffer putDouble(double value)
CrailBuffer put(ByteBuffer buf)
CrailBuffer get(ByteBuffer buf)
Copyright © 2018 The Apache Software Foundation. All rights reserved.