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

Method Summary
 long[] array()
           
 int arrayOffset()
           
 int capacity()
           
 long get()
           
 long get(int idx)
           
 ByteBuffer getBuffer()
           
 boolean hasArray()
           
 boolean hasRemaining()
           
 boolean isDirect()
           
 int limit()
           
 int position()
           
 B position(int newPos)
           
 B put(B src)
           
 B put(int index, long value)
           
 B put(long value)
           
 int remaining()
           
 B rewind()
           
 

Method Detail

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)