Closed 05nelsonm closed 1 year ago
Also, instead of using String
, can instead use CharSequence
which will open things up to more acceptable types.
Need to also think about adding extension functions
decodeToCharArray
anddecodeToString
.
Might do later in a separate issue, or later release if the need arises. Will think on it.
The
Decoder
extension function names should be changed todecodeToByteArray
anddecodeToByteArrayOrNull
to follow theEncoder
extension function naming convention.Need to also think about adding extension functions
decodeToCharArray
anddecodeToString
.