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 intarrayBaseOffset(Object array)static intarrayIndexScale(Object array)static voidfreeCString(long cStr)static longgetDirectBufferAddress(Buffer buf)static longnewCString(String str)static ByteBuffernewDirectByteBuffer(long address, int capacity)static StringnewJavaString(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)
-
-