implement Base8 encoding, rename Binary and Hex encodings

This commit is contained in:
2025-11-18 11:21:46 +01:00
parent 52a1ca6553
commit 12344283f7
7 changed files with 38 additions and 67 deletions

View File

@@ -15,21 +15,9 @@ object Base64 : 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)
}