BinaryAlphabet

scodec.bits.Bases.BinaryAlphabet
trait BinaryAlphabet extends Alphabet

An alphabet that supports binary conversion.

Attributes

Source
Bases.scala
Graph
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Known subtypes
object Binary.type
object Truthy.type

Members list

Value members

Inherited methods

def ignore(c: Char): Boolean

Indicates whether the specified character should be ignored.

Indicates whether the specified character should be ignored.

Attributes

Inherited from:
Alphabet
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

Inherited from:
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

Inherited from:
Alphabet
Source
Bases.scala