Hi all, is there any ticket or was there any discu...
# stdlib
w
Hi all, is there any ticket or was there any discussion about adding Base64 encoding/decoding utilities to Kotlin’s standard library?
m
I don't think it should be in stdlib. You can create crossplatform bindings and use e. g. migbase64 on JVM
1
j
Okio has native base64 encoding/decoding on all platforms
🆗 2
c
there is standard enconding decoding API on jvm:
java.util.Base64
there are also built in facilities in JS, what would make sense is adding a common wrapper for these for MPP. But as long as you're within one platform, there are native tools.
👍 1
a
Kotlin stdlib has introduced a multiplatform Base64 encoding/decoding since version 1.8.20. Here is the KEEP for discussing the API: https://github.com/Kotlin/KEEP/issues/373