← Docs
kotlin-stdlib / kotlinx.cinterop / utf16

utf16

Native
1.3
val String . utf16 : CValues < UShortVar >
(source)

Return the value of zero-terminated UTF-16-encoded C string constructed from given kotlin.String .

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 .