com.jogamp.gluegen.runtime

## Class BufferFactoryInternal

- java.lang.Object
- - com.jogamp.gluegen.runtime.BufferFactoryInternal

-     public class BufferFactoryInternal
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BufferFactoryInternal()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BufferFactoryInternal

          public BufferFactoryInternal()

  - ### 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)