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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Byte0: Byte
- val EmptyByteSeq: ByteSeq
- val EmptySeq: Seq
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteFromScalarBytes(truncatedByte: scala.Seq[Byte]): Byte
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fastElementWithStrings(obj: Any, charset: Charset): Option[Element]
Strings can be empty, other empty sequences interpreted as structure
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intFromScalarBytes(truncatedIntBytes: scala.Seq[Byte]): Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def longFromScalarBytes(truncatedLongBytes: scala.Seq[Byte]): Long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object ByteSeq extends Serializable
- object Seq extends Serializable