Join Slack
Powered by
Does anyone has an implementation of the Base64 en...
# multiplatform
a
Alex
08/16/2019, 10:24 PM
Does anyone has an implementation of the Base64 encoder/decoder for multiplatform?
s
serebit
08/16/2019, 10:57 PM
We have a common encoder in
https://gitlab.com/serebit/strife
, but it's only about half as fast as Java's built-in encoder.
t
trevjones
08/17/2019, 12:57 AM
maybe okio will be a good option soon?
trevjones
08/17/2019, 12:57 AM
https://github.com/square/okio/blob/master/CHANGELOG.md
2.3 has some notes about mpp
s
serebit
08/17/2019, 12:59 AM
Kinda surprised
#ktor
doesn't have a builtin base64 encoder tbh
a
Alex
08/17/2019, 1:27 AM
That was a surprise for me too, but it seems there's a feature request in Kotlin but is not a priority, from my perspective, encoding for base 16/64 should be
j
jw
08/17/2019, 2:03 AM
Okio works in 2.3, yes.
5
Views
Open in Slack
Previous
Next