Package com.jogamp.gluegen.runtime
Class BufferFactoryInternal
- java.lang.Object
-
- com.jogamp.gluegen.runtime.BufferFactoryInternal
-
public class BufferFactoryInternal extends Object
-
-
Constructor Summary
Constructors Constructor Description BufferFactoryInternal()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
arrayBaseOffset(Object array)
static int
arrayIndexScale(Object array)
static void
freeCString(long cStr)
static long
getDirectBufferAddress(Buffer buf)
static long
newCString(String str)
static ByteBuffer
newDirectByteBuffer(long address, int capacity)
static String
newJavaString(long cStr)
-
-
-
Method Detail
-
getDirectBufferAddress
public static long getDirectBufferAddress(Buffer buf)
-
newDirectByteBuffer
public static ByteBuffer newDirectByteBuffer(long address, int capacity)
-
newCString
public static long newCString(String str)
-
freeCString
public static void freeCString(long cStr)
-
newJavaString
public static String newJavaString(long cStr)
-
arrayBaseOffset
public static int arrayBaseOffset(Object array)
-
arrayIndexScale
public static int arrayIndexScale(Object array)
-
-