c

sigmastate.serialization

TaggedVariableSerializer

case class TaggedVariableSerializer(cons: (Byte, SType) ⇒ Value[SType]) extends ValueSerializer[TaggedVariable[_ <: SType]] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ValueSerializer[TaggedVariable[_ <: SType]], SigmaSerializer[Value[SType], TaggedVariable[_ <: SType]], Serializer[Value[SType], TaggedVariable[_ <: SType], SigmaByteReader, SigmaByteWriter], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaggedVariableSerializer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ValueSerializer
  7. SigmaSerializer
  8. Serializer
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TaggedVariableSerializer(cons: (Byte, SType) ⇒ Value[SType])

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val companion: ValueSerializer.type
    Definition Classes
    ValueSerializer
  7. lazy val complexity: Int
    Definition Classes
    ValueSerializer
  8. val cons: (Byte, SType) ⇒ Value[SType]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def error(msg: String): Nothing
    Definition Classes
    SigmaSerializer
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def fromBytes(bytes: Array[Byte]): Value[SType]
    Definition Classes
    SigmaSerializer
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getComplexity: Int
    Definition Classes
    ValueSerializer
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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()
  20. def opDesc: TaggedVariable.type
  21. def parse(r: SigmaByteReader): Value[SType]
    Definition Classes
    TaggedVariableSerializer → Serializer
  22. def parseTry(r: SigmaByteReader): Try[Value[SType]]
    Definition Classes
    Serializer
  23. def parseWithGenericReader(r: Reader)(implicit vs: SigmaValidationSettings): Value[SType]

    Wraps the given reader in SigmaByteReader and delegates to parse.

    Wraps the given reader in SigmaByteReader and delegates to parse. NOTE: it is used in spam tests.

    Definition Classes
    SigmaSerializer
  24. def serialize(obj: TaggedVariable[_ <: SType], w: SigmaByteWriter): Unit
    Definition Classes
    TaggedVariableSerializer → Serializer
  25. def serializeWithGenericWriter(obj: TaggedVariable[_ <: SType], w: Writer): Unit

    Wraps the given writer in SigmaByteWriter and delegates to serialize.

    Wraps the given writer in SigmaByteWriter and delegates to serialize. NOTE: it is used in spam tests.

    Definition Classes
    SigmaSerializer
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toBytes(obj: TaggedVariable[_ <: SType]): Array[Byte]
    Definition Classes
    SigmaSerializer
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ValueSerializer[TaggedVariable[_ <: SType]]

Inherited from SigmaSerializer[Value[SType], TaggedVariable[_ <: SType]]

Inherited from Serializer[Value[SType], TaggedVariable[_ <: SType], SigmaByteReader, SigmaByteWriter]

Inherited from AnyRef

Inherited from Any

Ungrouped