public abstract class Struct.PointerField extends Struct.NumberField
| Modifier and Type | Field and Description |
|---|---|
private Pointer |
finalPointer |
type| Constructor and Description |
|---|
PointerField()
Creates a new Address field.
|
PointerField(Struct.Offset offset) |
| Modifier and Type | Method and Description |
|---|---|
protected Pointer |
getPointer()
Gets the
Pointer value from the native memory. |
int |
intValue()
Returns an integer representation of this
Pointer. |
long |
longValue()
Returns an
long representation of this Pointer. |
void |
set(java.lang.Number value)
Sets the field to a new value.
|
void |
set(Pointer value)
Puts a
Address value into the native memory. |
int |
size()
Gets the size of a Pointer in bits
|
java.lang.String |
toString()
Returns a string representation of this
Pointer. |
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, structprivate Pointer finalPointer
public PointerField()
public PointerField(Struct.Offset offset)
protected final Pointer getPointer()
Pointer value from the native memory.Pointer.public final int size()
public final void set(Pointer value)
Address value into the native memory.value - the value to write.public void set(java.lang.Number value)
Struct.NumberFieldset in class Struct.NumberFieldvalue - The new value.public int intValue()
Pointer.intValue in class Struct.NumberFieldPointer.public long longValue()
long representation of this Pointer.longValue in class Struct.NumberFieldlong value for this Pointer.public java.lang.String toString()
Pointer.toString in class Struct.NumberFieldPointer.