kencode

UnicodeRangeAlphabet

class UnicodeRangeAlphabet(start: Int = 32, val size: Int = 0xD800 - 0x0020) : Alphabet(source)

size consecutive BMP characters from start. Defaults to U+0020–U+D7FF, the largest range below the surrogate block.

Constructors

UnicodeRangeAlphabet

constructor(start: Int = 32, size: Int = 0xD800 - 0x0020)(source)

Properties

size

open override val size: Int(source)

Number of digits.

Functions

get

open operator override fun get(index: Int): Char(source)

Character for digit index.

indexOf

open override fun indexOf(c: Char): Int(source)

Index of c, or -1 if absent.