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