inua.eio
Class ArrayByteBuffer

java.lang.Object
  extended by inua.eio.Buffer
      extended by inua.eio.ByteBuffer
          extended by inua.eio.ArrayByteBuffer

public class ArrayByteBuffer
extends ByteBuffer


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

ArrayByteBuffer

public ArrayByteBuffer(long capacity)

ArrayByteBuffer

public ArrayByteBuffer(byte[] bytes,
                       long off,
                       long len)

ArrayByteBuffer

public ArrayByteBuffer(byte[] bytes)
Method Detail

toArray

public byte[] toArray()
Return the byte array backing the byte buffer.


isReadOnly

public boolean isReadOnly()