public interface WordPointer extends PointerBase
UnsignedWord
or SignedWord
value.Modifier and Type | Method and Description |
---|---|
WordPointer |
addressOf(int index)
Computes the address of the array element with the specified index, treating the pointer as
an array of the C type.
|
WordPointer |
addressOf(SignedWord index)
Computes the address of the array element with the specified index, treating the pointer as
an array of the C type.
|
<T extends WordBase> |
read()
Reads the value at the pointer address.
|
<T extends WordBase> |
read(int index)
Reads the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
<T extends WordBase> |
read(SignedWord index)
Reads the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
void |
write(int index,
WordBase value)
Writes the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
void |
write(SignedWord index,
WordBase value)
Writes the value of the array element with the specified index, treating the pointer as an
array of the C type.
|
void |
write(WordBase value)
Writes the value at the pointer address.
|
isNonNull, isNull
equal, notEqual
<T extends WordBase> T read()
<T extends WordBase> T read(int index)
<T extends WordBase> T read(SignedWord index)
void write(WordBase value)
void write(int index, WordBase value)
void write(SignedWord index, WordBase value)
WordPointer addressOf(int index)
WordPointer addressOf(SignedWord index)