How can I create String from UTF8 bytes? I found t...
# kotlin-native
m
How can I create String from UTF8 bytes? I found this function
CreateStringFromUtf8
in sources, but I cannot find kotlin function to call it. https://github.com/JetBrains/kotlin-native/blob/4f9cea4ee235b0663b9fb5660e814a49d06b69ed/runtime/src/main/cpp/KString.cpp#L710
o
bytes.toKString()
?
👍 1
m
stringFromUtf8 actually