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