W3cubDocs

/Kotlin

toKStringFromUtf16

Platform and version requirements: Native (1.3)
fun CPointer<ShortVar>.toKStringFromUtf16(): String

Return the kotlin.String decoded from given zero-terminated UTF-16-encoded C string.

Platform and version requirements: Native (1.3)
fun CPointer<UShortVar>.toKStringFromUtf16(): String

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/to-k-string-from-utf16.html