Binary

scodec.bits.Bases.Alphabets.Binary
object Binary extends BinaryAlphabet

Binary alphabet that uses {0, 1} and allows whitespace and underscores for separation.

Attributes

Source
Bases.scala
Graph
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Self type
Binary.type

Members list

Value members

Concrete methods

def ignore(c: Char): Boolean

Indicates whether the specified character should be ignored.

Indicates whether the specified character should be ignored.

Attributes

Source
Bases.scala
def toChar(i: 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