public class BufferFactoryInternal extends Object
Constructor and Description |
---|
BufferFactoryInternal() |
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) |
public static long getDirectBufferAddress(Buffer buf)
public static ByteBuffer newDirectByteBuffer(long address, int capacity)
public static long newCString(String str)
public static void freeCString(long cStr)
public static String newJavaString(long cStr)
public static int arrayBaseOffset(Object array)
public static int arrayIndexScale(Object array)