toJString

context(env: JniEnv, autofreeScope: AutofreeScope)
inline fun String.toJString(): JString?(source)

Converts Kotlin string into JVM string.

Return

converted string or null if fails.

Throws

if the system runs out of memory.