W3cubDocs

/Kotlin

encodeToUtf8

Platform and version requirements: Native (1.3)
fun encodeToUtf8(str: String): ByteArray

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/encode-to-utf8.html