com.jogamp.common.nio
Interface NativeBuffer

All Known Implementing Classes:
AbstractBuffer, AbstractLongBuffer, Int64Buffer, PointerBuffer

public interface NativeBuffer

Hardware independent container for various kinds of buffers.

Author:
Michael Bien, Sven Gothel

Method Summary
 int arrayOffset()
           
 int capacity()
           
 ByteBuffer getBuffer()
           
 boolean hasArray()
           
 boolean hasRemaining()
           
 boolean isDirect()
           
 int limit()
           
 int position()
           
 NativeBuffer position(int newPos)
           
 int remaining()
           
 NativeBuffer rewind()
           
 

Method Detail

limit

int limit()

capacity

int capacity()

position

int position()

position

NativeBuffer position(int newPos)

remaining

int remaining()

hasRemaining

boolean hasRemaining()

rewind

NativeBuffer rewind()

hasArray

boolean hasArray()

arrayOffset

int arrayOffset()

getBuffer

ByteBuffer getBuffer()

isDirect

boolean isDirect()