Closed 05nelsonm closed 1 year ago
API is a little wonky with the static INSTANCE variables...
INSTANCE
"Hello World!".encodeToByteArray().encodeToString(Base64.Default.INSTANCE)
Would be much cleaner to just be able to do
"Hello World!".encodeToByteArray().encodeToString(Base64.Default)
Where by Base64.Default.Companion extends EncoderDecoder<Base64.Config>
Base64.Default.Companion
EncoderDecoder<Base64.Config>
API is a little wonky with the static
INSTANCE
variables...Would be much cleaner to just be able to do
Where by
Base64.Default.Companion
extendsEncoderDecoder<Base64.Config>