Package | Description |
---|---|
com.kenai.jaffl | |
com.kenai.jaffl.provider | |
com.kenai.jaffl.provider.jffi | |
com.kenai.jaffl.struct |
Modifier and Type | Class and Description |
---|---|
class |
MemoryIO
Interface to reading/writing various types of memory
|
Modifier and Type | Method and Description |
---|---|
abstract Pointer |
MemoryIO.getPointer(long offset) |
Pointer |
Pointer.getPointer(long offset) |
Modifier and Type | Method and Description |
---|---|
abstract void |
MemoryIO.putPointer(long offset,
Pointer value) |
void |
Pointer.putPointer(long offset,
Pointer value) |
static MemoryIO |
MemoryIO.wrap(Pointer ptr) |
static MemoryIO |
MemoryIO.wrap(Pointer ptr,
int size) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractArrayMemoryIO |
class |
AbstractBufferMemoryIO |
class |
AbstractMemoryIO
Base implementations of some MemoryIO operations.
|
class |
BoundedMemoryIO |
class |
NullMemoryIO |
class |
ShareMemoryIO |
Modifier and Type | Method and Description |
---|---|
Pointer |
MemoryManager.getBufferPointer(java.nio.Buffer buffer) |
Pointer |
BoundedMemoryIO.getPointer(long offset) |
Pointer |
NullMemoryIO.getPointer(long offset) |
Pointer |
ShareMemoryIO.getPointer(long offset) |
Modifier and Type | Method and Description |
---|---|
void |
BoundedMemoryIO.putPointer(long offset,
Pointer value) |
void |
NullMemoryIO.putPointer(long offset,
Pointer value) |
void |
ShareMemoryIO.putPointer(long offset,
Pointer value) |
MemoryIO |
MemoryManager.wrap(Pointer address) |
MemoryIO |
MemoryManager.wrap(Pointer address,
int size) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayMemoryIO |
class |
ByteBufferMemoryIO |
Modifier and Type | Method and Description |
---|---|
Pointer |
MemoryManager.getBufferPointer(java.nio.Buffer buffer) |
Pointer |
ArrayMemoryIO.getPointer(long offset) |
Pointer |
ByteBufferMemoryIO.getPointer(long offset) |
static Pointer |
AsmRuntime.pointerValue(int ptr) |
static Pointer |
AsmRuntime.pointerValue(long ptr) |
Modifier and Type | Method and Description |
---|---|
static int |
AsmRuntime.intValue(Pointer ptr) |
static boolean |
AsmRuntime.isDirect(Pointer ptr) |
static long |
AsmRuntime.longValue(Pointer ptr) |
static void |
AsmRuntime.marshal(com.kenai.jffi.InvocationBuffer buffer,
Pointer ptr,
int nativeArrayFlags) |
static void |
AsmRuntime.marshal(InvocationSession session,
com.kenai.jffi.InvocationBuffer buffer,
Pointer[] pointers,
int inout,
int nativeArrayFlags) |
java.lang.Byte |
AsmLibraryLoader.TestLib.ptr_ret_int8_t(Pointer p,
int index) |
void |
ArrayMemoryIO.putPointer(long offset,
Pointer value) |
void |
ByteBufferMemoryIO.putPointer(long offset,
Pointer value) |
MemoryIO |
MemoryManager.wrap(Pointer ptr) |
MemoryIO |
MemoryManager.wrap(Pointer ptr,
int size) |
Modifier and Type | Method and Description |
---|---|
Pointer |
Struct.Pointer.get()
Gets the
com.googlecode.jffi.Address value from the native memory. |
Modifier and Type | Method and Description |
---|---|
void |
Struct.Pointer.set(Pointer value)
Puts a
com.googlecode.jffi.Address value into the native memory. |
void |
Struct.useMemory(Pointer address)
Uses the specified memory address as the backing store for this structure.
|