Packages

c

sigma.serialization

ConstantSerializer

case class ConstantSerializer(builder: SigmaBuilder) extends ValueSerializer[Constant[SType]] with Product with Serializable

This works in tandem with DataSerializer, if you change one make sure to check the other.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantSerializer
  2. Serializable
  3. Product
  4. Equals
  5. ValueSerializer
  6. SigmaSerializer
  7. Serializer
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ConstantSerializer(builder: SigmaBuilder)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val builder: SigmaBuilder
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def deserialize(r: SigmaByteReader): Constant[SType]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def error(msg: String): Nothing
    Definition Classes
    SigmaSerializer
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def fromBytes(bytes: Array[Byte]): Value[SType]
    Definition Classes
    SigmaSerializer
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def opCode: OpCode

    Code of the corresponding tree node (Value.opCode) which is used to lookup this serizalizer during deserialization.

    Code of the corresponding tree node (Value.opCode) which is used to lookup this serizalizer during deserialization. It is emitted immediately before the body of this node in serialized byte array.

    Definition Classes
    ValueSerializer
    Annotations
    @inline()
  18. def opDesc: Constant
    Definition Classes
    ConstantSerializerValueSerializer
  19. def parse(r: SigmaByteReader): Value[SType]
    Definition Classes
    ConstantSerializer → Serializer
  20. def parseTry(r: SigmaByteReader): Try[Value[SType]]
    Definition Classes
    Serializer
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. def serialize(c: Constant[SType], w: SigmaByteWriter): Unit
    Definition Classes
    ConstantSerializer → Serializer
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final def toBytes(obj: Constant[SType]): Array[Byte]
    Definition Classes
    SigmaSerializer
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ValueSerializer[Constant[SType]]

Inherited from Serializer[Value[SType], Constant[SType], SigmaByteReader, SigmaByteWriter]

Inherited from AnyRef

Inherited from Any

Ungrouped