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