Packages

object Element

Elements are now formally immutable.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Element
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Basic extends Element
  2. final case class ByteSeq(bytes: scala.collection.immutable.Seq[Byte]) extends Basic with Product with Serializable
  3. final case class Seq(seq: scala.collection.immutable.Seq[Element]) extends Basic with Product with Serializable
  4. final case class UnsignedBigInt(value: BigInt) extends Element with Product with Serializable
  5. final case class UnsignedByte(value: Byte) extends Element with Product with Serializable
  6. final case class UnsignedInt(value: Int) extends Element with Product with Serializable
  7. final case class UnsignedLong(value: Long) extends Element with Product with Serializable
  8. final case class UnsignedShort(value: Short) extends Element with Product with Serializable

Value Members

  1. val Byte0: Byte
  2. val EmptyByteSeq: ByteSeq
  3. val EmptySeq: Seq
  4. def byteFromScalarBytes(truncatedByte: scala.Seq[Byte]): Byte
  5. def decode(bytes: scala.Seq[Byte]): (Basic, scala.Seq[Byte])

    returns

    a pair, decoded Element and unconsumed bytes

  6. def decodeComplete(bytes: scala.Seq[Byte]): Basic
  7. def encode(element: Element): scala.collection.immutable.Seq[Byte]
  8. def fastElementWithStrings(obj: Any, charset: Charset): Option[Element]

    Strings can be empty, other empty sequences interpreted as structure

  9. def intFromScalarBytes(truncatedIntBytes: scala.Seq[Byte]): Int
  10. def longFromScalarBytes(truncatedLongBytes: scala.Seq[Byte]): Long
  11. def sameBytes(a: Element, b: Element): Boolean
  12. def scalarBytes(bi: BigInt): Array[Byte]
  13. def scalarBytes(l: Long): Array[Byte]
  14. def scalarBytes(i: Int): Array[Byte]
  15. def scalarBytes(s: Short): Array[Byte]
  16. def scalarBytes(b: Byte): Array[Byte]
  17. def shortFromScalarBytes(truncatedShortBytes: scala.Seq[Byte]): Short
  18. object ByteSeq extends Serializable
  19. object Seq extends Serializable