scodec.bits
Members list
Type members
Classlikes
Provides types related to base conversion -- e.g., binary, hexadecimal, and base 64.
Provides types related to base conversion -- e.g., binary, hexadecimal, and base 64.
Attributes
- Source
- Bases.scala
- Supertypes
- Self type
-
Bases.type
Enumeration of byte ordering.
Enumeration of byte ordering.
Attributes
- Companion
- object
- Source
- ByteOrdering.scala
- Supertypes
- Known subtypes
-
object BigEndian.typeobject LittleEndian.type
Companion for ByteOrdering.
Companion for ByteOrdering.
Attributes
- Companion
- trait
- Source
- ByteOrdering.scala
- Supertypes
- Self type
-
ByteOrdering.type
Creates hex dumps for bit and byte vectors.
Creates hex dumps for bit and byte vectors.
Formatting options can be specified by starting with HexDumpFormat.Default and then calling various withXyz methods.
Attributes
- Companion
- object
- Source
- HexDumpFormat.scala
- Supertypes
Attributes
- Companion
- class
- Source
- HexDumpFormat.scala
- Supertypes
- Self type
-
HexDumpFormat.type
Attributes
- Source
- Interpolators.scala
- Supertypes
- Self type
-
Literals.type
Extensions
Extensions
Provides the hex string interpolator, which returns ByteVector instances from hexadecimal strings.
Provides the hex string interpolator, which returns ByteVector instances from hexadecimal strings.
Attributes
- Example
-
scala> val b = hex"deadbeef" val b: scodec.bits.ByteVector = ByteVector(4 bytes, 0xdeadbeef) - Source
- Interpolators.scala
Provides the bin string interpolator, which returns BitVector instances from binary strings.
Provides the bin string interpolator, which returns BitVector instances from binary strings.
Attributes
- Example
-
scala> val b = bin"1010101010" val b: scodec.bits.BitVector = BitVector(10 bits, 0xaa8) - Source
- Interpolators.scala
Provides the ascii string interpolator, which returns ByteVector instances from ascii strings.
Provides the ascii string interpolator, which returns ByteVector instances from ascii strings.
Attributes
- Example
-
scala> val b = ascii"deadbeef" val b: scodec.bits.ByteVector = ByteVector(8 bytes, 0x6465616462656566) - Source
- Interpolators.scala
Provides the utf8 string interpolator, which returns ByteVector instances from utf8 strings.
Provides the utf8 string interpolator, which returns ByteVector instances from utf8 strings.
Attributes
- Example
-
scala> val b = utf8"ɟǝǝqpɐǝp" val b: scodec.bits.ByteVector = ByteVector(13 bytes, 0xc99fc79dc79d7170c990c79d70) - Source
- Interpolators.scala