public static interface CTypeConversion.CCharPointerHolder extends AutoCloseable
CharSequence
as a null-terminated C char[] array.
The C pointer is only valid as long as the auto-closeable has not been closed.Modifier and Type | Method and Description |
---|---|
void |
close()
Discards the C pointer.
|
CCharPointer |
get()
Returns the C pointer to the null-terminated C char[] array.
|
CCharPointer get()
void close()
close
in interface AutoCloseable