W3cubDocs

/Kotlin

toKStringFromUtf8

Platform and version requirements: Native (1.3)
fun CPointer<ByteVar>.toKStringFromUtf8(): String

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