Is there any way to get a format a kotlin String f...
# kotlin-native
p
Is there any way to get a format a kotlin String from
msg: CPointer<ByteVar>?, args: va_list?
? I’m attempt to pass
staticCFunction { _: COpaquePointer?, msg: CPointer<ByteVar>?, args: va_list? -> }
to an API but I’m not sure how to make use of the parameters.
a
Copy code
msg.toKString()
p
Thanks, is there any way to unpack the va_list from kotlin?
d
Nope