com.kenai.jaffl.struct

Class Struct.Pointer

public class Struct.Pointer extends Struct.NumberField

Represents a native memory address.
Constructor Summary
Pointer()
Creates a new Address field.
Pointer(Struct.Offset offset)
Method Summary
Pointerget()
Gets the com.googlecode.jffi.Address value from the native memory.
voidset(Pointer value)
Puts a com.googlecode.jffi.Address value into the native memory.
voidset(Number value)
intsize()
Gets the size of a Pointer in bits

Constructor Detail

Pointer

public Pointer()
Creates a new Address field.

Pointer

public Pointer(Struct.Offset offset)

Method Detail

get

public final Pointer get()
Gets the com.googlecode.jffi.Address value from the native memory.

Returns: a com.googlecode.jffi.Address.

set

public final void set(Pointer value)
Puts a com.googlecode.jffi.Address value into the native memory.

set

public void set(Number value)

size

public final int size()
Gets the size of a Pointer in bits

Returns: the size of the Pointer