Alphabets

scodec.bits.Bases.Alphabets
object Alphabets

Predefined alphabets for use in base conversions.

Attributes

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

Members list

Type members

Classlikes

object Base32 extends Base32Alphabet

Base 32 alphabet, with padding, as defined by RF4648 section 4.

Base 32 alphabet, with padding, as defined by RF4648 section 4. Whitespace is ignored.

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
Base32.type

Base 32 Crockford alphabet as defined by https://www.crockford.com/base32.html.

Base 32 Crockford alphabet as defined by https://www.crockford.com/base32.html. Whitespace and hyphen is ignored.

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
object Base58 extends Alphabet

Base 58 alphabet as defined by https://en.bitcoin.it/wiki/Base58Check_encoding#Base58_symbol_chart. IPFS hashes uses the same order.

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Self type
Base58.type
object Base64 extends Base64Base, PaddedAlphabet

Base 64 alphabet, with padding, as defined by RF4648 section 4.

Base 64 alphabet, with padding, as defined by RF4648 section 4. Whitespace is ignored.

Attributes

Source
Bases.scala
Supertypes
trait Base64Base
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
Base64.type
sealed trait Base64Base extends Base64Alphabet

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Known subtypes
object Base64.type
object Base64NoPad.type
object Base64NoPad extends Base64Base

Base 64 alphabet, without padding, as defined by RF4648 section 4.

Base 64 alphabet, without padding, as defined by RF4648 section 4. Whitespace is ignored.

Attributes

Source
Bases.scala
Supertypes
trait Base64Base
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
object Base64Url extends Base64UrlBase

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
Base64Url.type
sealed trait Base64UrlBase extends Base64Alphabet

Base 64 alphabet, with padding, as defined by RF4648 section 5.

Base 64 alphabet, with padding, as defined by RF4648 section 5. Whitespace is ignored.

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Known subtypes
object Base64Url.type
object Base64UrlNoPad.type
object Base64UrlNoPad extends Base64UrlBase

Attributes

Source
Bases.scala
Supertypes
trait Alphabet
class Object
trait Matchable
class Any
Show all
Self type
object Binary extends BinaryAlphabet

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

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

Attributes

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

Base 16 alphabet that uses {0-9, a-f}.

Base 16 alphabet that uses {0-9, a-f}. Whitespace and underscores are ignored.

Attributes

Source
Bases.scala
Supertypes
trait HexAlphabet
trait Alphabet
class Object
trait Matchable
class Any
Self type
object HexUppercase

Base 16 alphabet that uses {0-9, A-F}.

Base 16 alphabet that uses {0-9, A-F}. Whitespace and underscores are ignored.

Attributes

Source
Bases.scala
Supertypes
trait HexAlphabet
trait Alphabet
class Object
trait Matchable
class Any
Self type
object Truthy extends BinaryAlphabet

Binary alphabet that uses {t, f} and allows whitespace and underscores for separation.

Binary alphabet that uses {t, f} and allows whitespace and underscores for separation.

Attributes

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