public interface CCharPointer
extends org.graalvm.word.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(org.graalvm.word.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(org.graalvm.word.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(org.graalvm.word.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.
|
byte read()
byte read(int index)
byte read(org.graalvm.word.SignedWord index)
void write(byte value)
void write(int index,
byte value)
void write(org.graalvm.word.SignedWord index,
byte value)
CCharPointer addressOf(int index)
CCharPointer addressOf(org.graalvm.word.SignedWord index)