Alphabet

trait Alphabet

Partial mapping between characters and indices used in base conversions.

class Object
trait Matchable
class Any
object Base58.type
object Binary.type
object Truthy.type
object Base64.type
object Base32.type
object Base32Crockford.type
object Base64NoPad.type
object Base64Url.type
object Base64UrlNoPad.type

Value members

Abstract methods

Indicates whether the specified character should be ignored.

Indicates whether the specified character should be ignored.

def toChar(index: Int): Char

Converts the specified index to a character.

Converts the specified index to a character.

Throws:
IndexOutOfBoundsException

if the specified byte is not supported by this alphabet

def toIndex(c: Char): Int

Converts the specified char to an index.

Converts the specified char to an index.

Throws:
IllegalArgumentException

if the specified char is not supported by this alphabet