nestserau
11/13/2018, 2:24 PMkotlin-stdlib/kotlin.native/toUtf8
should be available on String in my multiplatform project. But I cannot invoke it. Intellisense doesn’t see that method. What am I doing wrong?toUtf8
for compileKotlinIos
task (native code), but not for JVM. So that’s where the code will have to get platform-specific.drofwarcs
11/13/2018, 7:39 PMexpect fun String.toUtf8Bytes(): ByteArray
expect fun stringFromUtf8Bytes(bytes: ByteArray): String
nestserau
11/14/2018, 8:32 AM