object Element
Elements are now formally immutable.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Element
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed trait Basic extends Element
- final case class ByteSeq(bytes: scala.collection.immutable.Seq[Byte]) extends Basic with Product with Serializable
- final case class Seq(seq: scala.collection.immutable.Seq[Element]) extends Basic with Product with Serializable
- final case class UnsignedBigInt(value: BigInt) extends Element with Product with Serializable
- final case class UnsignedByte(value: Byte) extends Element with Product with Serializable
- final case class UnsignedInt(value: Int) extends Element with Product with Serializable
- final case class UnsignedLong(value: Long) extends Element with Product with Serializable
- final case class UnsignedShort(value: Short) extends Element with Product with Serializable
Value Members
- val Byte0: Byte
- val EmptyByteSeq: ByteSeq
- val EmptySeq: Seq
- def byteFromScalarBytes(truncatedByte: scala.Seq[Byte]): Byte
-
def
decode(bytes: scala.Seq[Byte]): (Basic, scala.Seq[Byte])
- returns
a pair, decoded Element and unconsumed bytes
- def decodeComplete(bytes: scala.Seq[Byte]): Basic
- def encode(element: Element): scala.collection.immutable.Seq[Byte]
-
def
fastElementWithStrings(obj: Any, charset: Charset): Option[Element]
Strings can be empty, other empty sequences interpreted as structure
- def intFromScalarBytes(truncatedIntBytes: scala.Seq[Byte]): Int
- def longFromScalarBytes(truncatedLongBytes: scala.Seq[Byte]): Long
- def sameBytes(a: Element, b: Element): Boolean
- def scalarBytes(bi: BigInt): Array[Byte]
- def scalarBytes(l: Long): Array[Byte]
- def scalarBytes(i: Int): Array[Byte]
- def scalarBytes(s: Short): Array[Byte]
- def scalarBytes(b: Byte): Array[Byte]
- def shortFromScalarBytes(truncatedShortBytes: scala.Seq[Byte]): Short
- object ByteSeq extends Serializable
- object Seq extends Serializable