Package org.graalvm.nativeimage.c.type
Interface CCharPointerPointer
- All Superinterfaces:
ComparableWord
,PointerBase
,WordBase
A pointer to a pointer to a 8-bit C primitive value.
- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionaddressOf
(int index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.addressOf
(SignedWord index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.read()
Reads the value at the pointer address.read
(int index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.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 index, CCharPointer value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.void
write
(CCharPointer value) Writes the value at the pointer address.void
write
(SignedWord index, CCharPointer value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.Methods inherited from interface org.graalvm.word.ComparableWord
equal, notEqual
Methods inherited from interface org.graalvm.word.PointerBase
isNonNull, isNull
-
Method Details
-
read
CCharPointer read()Reads the value at the pointer address.- Since:
- 19.0
-
read
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
read
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
Writes the value at the pointer address.- Since:
- 19.0
-
write
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-