← Docs
kotlin-stdlib / kotlinx.cinterop / toKStringFromUtf8

toKStringFromUtf8

Native
1.3
fun CPointer < ByteVar > . toKStringFromUtf8 ( ) : String
(source)

Return the kotlin.String decoded from given zero-terminated UTF-8-encoded C 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 .