First time using KMP, I'm trying to make a small l...
# multiplatform
r
First time using KMP, I'm trying to make a small library and there are some standard functions missing like
String.toByteArray(..)
and some classes like Charsets. At the site it is stated that it's supported on JVM, JS, Native, etc... What am I doing wrong?
z
toByteArray
is shown as JVM-only
The chips at the top here are filters you can toggle, but the specific function’s availability is marked by the green dot next to it (for JVM)
r
Yes I just noticed that, I was about to correct myself. I thought these meant it's supported
Thanks for the fast response!