object DataSerializer
This works in tandem with ConstantSerializer, if you change one make sure to check the other.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DataSerializer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
deserialize[T <: SType](tpe: T, r: SigmaByteReader): 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
. - def deserializeColl[T <: SType](len: Int, tpeElem: T, r: SigmaByteReader): Coll[DataSerializer.deserializeColl.T.WrappedType]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
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: SigmaByteWriter): 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
. -
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()