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