← Docs
kotlin-stdlib / kotlinx.cinterop / utf8

utf8

Native
1.3
val String . utf8 : CValues < ByteVar >
(source)

Return the value of zero-terminated UTF-8-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 .