kencode

Base62

Base62 codec over BASE_62.

Properties

Link copied to clipboard

Bytes per block; larger blocks pack tighter but cost more arithmetic.

Functions

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

Decodes input back into bytes.

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

Encodes length bytes of input starting at offset.