decodeToString
Decodes a string from the bytes in UTF-8 encoding in this array.
expect fun ByteArray.decodeToString(): String(source)
val utf8Bytes = "Kotlin 🚀".toByteArray(Charsets.UTF_8)
val decodedString = utf8Bytes.decodeToString()
println(decodedString) // Output: Kotlin 🚀