|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object inua.eio.Buffer inua.eio.ByteBuffer inua.eio.ArrayByteBuffer
public class ArrayByteBuffer
Constructor Summary | |
---|---|
ArrayByteBuffer(byte[] bytes)
|
|
ArrayByteBuffer(byte[] bytes,
long off,
long len)
|
|
ArrayByteBuffer(long capacity)
|
Method Summary | |
---|---|
boolean |
isReadOnly()
|
byte[] |
toArray()
Return the byte array backing the byte buffer. |
Methods inherited from class inua.eio.ByteBuffer |
---|
get, get, get, get, get, get, get, get, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getShort, getShort, getShort, getShort, getUByte, getUByte, getUInt, getUInt, getUInt, getUInt, getULong, getULong, getULong, getULong, getUShort, getUShort, getUShort, getUShort, getUWord, getUWord, getUWordSized, getWord, getWord, getWordSized, order, order, put, put, putByte, putByte, putDouble, putDouble, putDouble, putDouble, putFloat, putFloat, putFloat, putFloat, putInt, putInt, putInt, putInt, putLong, putLong, putLong, putLong, putShort, putShort, putShort, putShort, putUByte, putUByte, putUInt, putUInt, putUInt, putUInt, putULong, putULong, putULong, putULong, putUShort, putUShort, putUShort, putUShort, putUWord, putUWord, putUWordSized, putWord, putWord, putWordSized, safeGet, slice, slice, wordLength, wordSize, wordSize |
Methods inherited from class inua.eio.Buffer |
---|
capacity, clear, flip, hasRemaining, limit, limit, mark, position, position, remaining, reset, rewind |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayByteBuffer(long capacity)
public ArrayByteBuffer(byte[] bytes, long off, long len)
public ArrayByteBuffer(byte[] bytes)
Method Detail |
---|
public byte[] toArray()
public boolean isReadOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |