Alphabet

scodec.bits.Bases$.Alphabet
trait Alphabet

Partial mapping between characters and indices used in base conversions.

Attributes

Source:
Bases.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
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

Members list

Concise view

Value members

Abstract methods

Indicates whether the specified character should be ignored.

Indicates whether the specified character should be ignored.

Attributes

Source:
Bases.scala
def toChar(index: Int): Char

Converts the specified index to a character.

Converts the specified index to a character.

Attributes

Throws:
IndexOutOfBoundsException

if the specified byte is not supported by this alphabet

Source:
Bases.scala
def toIndex(c: Char): Int

Converts the specified char to an index.

Converts the specified char to an index.

Attributes

Throws:
IllegalArgumentException

if the specified char is not supported by this alphabet

Source:
Bases.scala