implement Base8 encoding, rename Binary and Hex encodings
This commit is contained in:
@@ -11,21 +11,9 @@ object Base32 : Encoding() {
|
||||
|
||||
override fun encode(
|
||||
bytes: UByteArray,
|
||||
): UByteArray {
|
||||
return encode(
|
||||
bytes,
|
||||
CHARACTERS,
|
||||
PADDING,
|
||||
)
|
||||
}
|
||||
) = encode(bytes, CHARACTERS, PADDING)
|
||||
|
||||
override fun decode(
|
||||
bytes: UByteArray,
|
||||
): UByteArray {
|
||||
return decode(
|
||||
bytes,
|
||||
CHARACTERS,
|
||||
PADDING,
|
||||
)
|
||||
}
|
||||
) = decode(bytes, CHARACTERS, PADDING)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user