← Docs
kotlin-stdlib / kotlinx.cinterop / toKStringFromUtf16

toKStringFromUtf16

Native
1.3
fun CPointer < ShortVar > . toKStringFromUtf16 ( ) : String
(source)

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

Native
1.3
fun CPointer < UShortVar > . toKStringFromUtf16 ( ) : String
(source)
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .