com.jogamp.common.nio
Interface NativeBuffer<B extends NativeBuffer>
- All Known Implementing Classes:
- AbstractBuffer, AbstractLongBuffer, Int64Buffer, PointerBuffer
public interface NativeBuffer<B extends NativeBuffer>
Hardware independent container for various kinds of buffers.
- Author:
- Michael Bien, Sven Gothel
limit
int limit()
capacity
int capacity()
position
int position()
position
B position(int newPos)
remaining
int remaining()
hasRemaining
boolean hasRemaining()
hasArray
boolean hasArray()
arrayOffset
int arrayOffset()
getBuffer
ByteBuffer getBuffer()
isDirect
boolean isDirect()
array
long[] array()
rewind
B rewind()
put
B put(int index,
long value)
put
B put(long value)
put
B put(B src)
get
long get()
get
long get(int idx)