Package | Description |
---|---|
com.kenai.jaffl | |
com.kenai.jaffl.provider | |
com.kenai.jaffl.provider.jffi | |
com.kenai.jaffl.struct |
Modifier and Type | Method and Description |
---|---|
static MemoryIO |
MemoryIO.allocate(int size)
Allocates a new block of java heap memory and wraps it in a
MemoryIO
accessor. |
static MemoryIO |
MemoryIO.allocateDirect(int size)
Allocates a new block of native memory and wraps it in a
MemoryIO
accessor. |
static MemoryIO |
MemoryIO.allocateDirect(int size,
boolean clear)
Allocates a new block of native memory and wraps it in a
MemoryIO
accessor. |
abstract MemoryIO |
MemoryIO.getMemoryIO(long offset) |
abstract MemoryIO |
MemoryIO.getMemoryIO(long offset,
long size) |
abstract MemoryIO |
MemoryIO.slice(long offset) |
abstract MemoryIO |
MemoryIO.slice(long offset,
long size) |
static MemoryIO |
MemoryIO.wrap(java.nio.ByteBuffer buffer) |
static MemoryIO |
MemoryIO.wrap(Pointer ptr) |
static MemoryIO |
MemoryIO.wrap(Pointer ptr,
int size) |
Modifier and Type | Method and Description |
---|---|
abstract void |
MemoryIO.transferTo(long offset,
MemoryIO other,
long otherOffset,
long count) |
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 | Field and Description |
---|---|
static MemoryIO |
NullMemoryIO.INSTANCE |
Modifier and Type | Method and Description |
---|---|
MemoryIO |
MemoryManager.allocate(int size) |
MemoryIO |
MemoryManager.allocateDirect(int size) |
MemoryIO |
MemoryManager.allocateDirect(int size,
boolean clear) |
MemoryIO |
BoundedMemoryIO.getDelegatedMemoryIO() |
MemoryIO |
DelegatingMemoryIO.getDelegatedMemoryIO() |
MemoryIO |
ShareMemoryIO.getDelegatedMemoryIO() |
MemoryIO |
BoundedMemoryIO.getMemoryIO(long offset) |
MemoryIO |
NullMemoryIO.getMemoryIO(long offset) |
MemoryIO |
ShareMemoryIO.getMemoryIO(long offset) |
MemoryIO |
BoundedMemoryIO.getMemoryIO(long offset,
long size) |
MemoryIO |
NullMemoryIO.getMemoryIO(long offset,
long size) |
MemoryIO |
ShareMemoryIO.getMemoryIO(long offset,
long size) |
MemoryIO |
AbstractMemoryIO.slice(long offset) |
MemoryIO |
AbstractMemoryIO.slice(long offset,
long size) |
MemoryIO |
MemoryManager.wrap(java.nio.ByteBuffer buffer) |
MemoryIO |
MemoryManager.wrap(Pointer address) |
MemoryIO |
MemoryManager.wrap(Pointer address,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMemoryIO.transferFrom(long offset,
MemoryIO other,
long otherOffset,
long count) |
void |
AbstractMemoryIO.transferTo(long offset,
MemoryIO other,
long otherOffset,
long count) |
Constructor and Description |
---|
BoundedMemoryIO(MemoryIO parent,
long offset,
long size) |
ShareMemoryIO(MemoryIO parent,
long offset) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayMemoryIO |
class |
ByteBufferMemoryIO |
Modifier and Type | Method and Description |
---|---|
MemoryIO |
MemoryManager.allocate(int size) |
MemoryIO |
MemoryManager.allocateDirect(int size) |
MemoryIO |
MemoryManager.allocateDirect(int size,
boolean clear) |
MemoryIO |
ArrayMemoryIO.getMemoryIO(long offset) |
MemoryIO |
ByteBufferMemoryIO.getMemoryIO(long offset) |
MemoryIO |
ArrayMemoryIO.getMemoryIO(long offset,
long size) |
MemoryIO |
ByteBufferMemoryIO.getMemoryIO(long offset,
long size) |
static MemoryIO |
AsmRuntime.newMemoryIO(long ptr) |
MemoryIO |
MemoryManager.wrap(java.nio.ByteBuffer buffer) |
MemoryIO |
MemoryManager.wrap(Pointer ptr) |
MemoryIO |
MemoryManager.wrap(Pointer ptr,
int size) |
Modifier and Type | Method and Description |
---|---|
MemoryIO |
Struct.Member.getMemoryIO()
Gets the MemoryIO used to read/write this Member.
|
MemoryIO |
Struct.AbstractMember.getMemoryIO()
Gets the MemoryIO used to read/write this Member.
|
MemoryIO |
Struct.NumberField.getMemoryIO()
Gets the MemoryIO used to read/write this Member.
|
static MemoryIO |
StructUtil.getMemoryIO(Struct struct) |
static MemoryIO |
StructUtil.getMemoryIO(Struct struct,
int flags) |
protected abstract MemoryIO |
Struct.String.getStringMemory() |
protected MemoryIO |
Struct.UTFString.getStringMemory() |
protected MemoryIO |
Struct.UTFStringRef.getStringMemory() |
Modifier and Type | Method and Description |
---|---|
void |
Struct.useMemory(MemoryIO address)
Uses the specified memory address as the backing store for this structure.
|