kencode

Base62

Base62 encoder/decoder using digits, lowercase, then uppercase characters.

Properties

Link copied to clipboard

Number of input bytes processed per block; larger blocks pack more tightly but cost more BigInteger arithmetic.

Functions

Link copied to clipboard
open override fun decode(input: CharSequence): ByteArray

Decode an encoded string back into the original bytes.

Link copied to clipboard
open override fun encode(input: ByteArray, offset: Int = 0, length: Int = input.size - offset): String

Encode the given byte range into a text representation.