Package | Description |
---|---|
jnr.ffi |
Modifier and Type | Class and Description |
---|---|
class |
StructLayout |
Modifier and Type | Field and Description |
---|---|
protected Type |
Struct.NumberField.type |
protected Type |
StructLayout.NumberField.type |
Modifier and Type | Method and Description |
---|---|
abstract Type |
Runtime.findType(NativeType type)
Looks up the runtime-specific type that corresponds to the pseudo-type
|
abstract Type |
Runtime.findType(TypeAlias type)
Looks up the runtime-specific type that corresponds to the type alias
|
Modifier and Type | Method and Description |
---|---|
protected int |
StructLayout.addField(Type t) |
protected int |
StructLayout.addField(Type t,
StructLayout.Offset offset) |
static Pointer |
Memory.allocate(Runtime runtime,
Type type)
Allocates a new block of java memory and wraps it in a
Pointer
accessor. |
abstract long |
Pointer.getInt(Type type,
long offset)
Reads an integer value of the given type, at the given offset.
|
abstract void |
Pointer.putInt(Type type,
long offset,
long value)
Writes an integer of a specific type, at the given offset.
|
Constructor and Description |
---|
Struct.Padding(Type type,
int length) |
StructLayout.AbstractField(Type type) |
StructLayout.AbstractField(Type type,
StructLayout.Offset offset) |
StructLayout.NumberField(Type type) |
StructLayout.NumberField(Type type,
StructLayout.Offset offset) |
StructLayout.Padding(Type type,
int length) |
StructLayout.Padding(Type type,
int length,
StructLayout.Offset offset) |
Copyright © 2015. All rights reserved.