object DataSerializer extends CoreDataSerializer
This works in tandem with ConstantSerializer, if you change one make sure to check the other.
- Alphabetic
- By Inheritance
- DataSerializer
- CoreDataSerializer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deserialize[T <: SType](tpe: T, r: CoreByteReader): DataSerializer.deserialize.T.WrappedType
Reads a data value from Reader.
Reads a data value from Reader. The data value bytes is expected to confirm to the type descriptor
tpe
. The data structure depth is limited by r.maxTreeDepth which is SigmaSerializer.MaxTreeDepth by default.- Definition Classes
- DataSerializer → CoreDataSerializer
- def deserializeColl[T <: SType](len: Int, tpeElem: T, r: CoreByteReader): Coll[CoreDataSerializer.deserializeColl.T.WrappedType]
- Definition Classes
- CoreDataSerializer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 serialize[T <: SType](v: DataSerializer.serialize.T.WrappedType, tpe: T, w: CoreByteWriter): Unit
Use type descriptor
tpe
to deconstruct type structure and recursively serialize subcomponents.Use type descriptor
tpe
to deconstruct type structure and recursively serialize subcomponents. Primitive types are leaves of the type tree, and they are served as basis of recursion. The data valuev
is expected to conform to the type described bytpe
.- Definition Classes
- DataSerializer → CoreDataSerializer
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()