~In `kotlin.io.encoding.Base64`, why does `decode`...
# stdlib
k
In
kotlin.io.encoding.Base64
, why does
decode
take a
ByteArray
input instead of
String
? The
encode
function returns a
String
, so I would have thought its counterpart would also take a
String
input. The equivalent Java function
Decoder.decode
has an overload for
String
.
j
There is also a
CharSequence
overload in Kotlin
k
Ah, yes, I didn't see that. Thanks