Packages

c

sigmastate.utils

SigmaByteReader

class SigmaByteReader extends Reader

Linear Supertypes
Reader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigmaByteReader
  2. Reader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SigmaByteReader(r: Reader, constantStore: ConstantStore, resolvePlaceholdersToConstants: Boolean, maxTreeDepth: Int = SigmaSerializer.MaxTreeDepth)

Type Members

  1. type CH = scorex.util.serialization.Reader.CH
    Definition Classes
    SigmaByteReader → Reader

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 addComplexity(delta: Int): Unit
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def complexity: Int
    Annotations
    @inline()
  8. final def complexity_=(v: Int): Unit
    Annotations
    @inline()
  9. var constantStore: ConstantStore
  10. def consumed: Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getBits(size: Int): Array[Boolean]
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  15. def getByte(): Byte
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  16. def getBytes(size: Int): Array[Byte]
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  17. def getChunk(size: Int): CH
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getInt(): Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  20. def getLong(): Long
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  21. def getOption[T](getValue: ⇒ T): Option[T]
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  22. def getShort(): Short
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  23. def getShortString(): String
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  24. def getType(): SType
    Annotations
    @inline()
  25. def getUByte(): Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  26. def getUInt(): Long
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  27. def getULong(): Long
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  28. def getUShort(): Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  29. def getValue(): SValue
    Annotations
    @inline()
  30. def getValues(): IndexedSeq[SValue]
    Annotations
    @inline()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def level: Int
    Annotations
    @inline()
  34. def level_=(v: Int): Unit
    Annotations
    @inline()
  35. def mark(): SigmaByteReader.this.type
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  36. val maxTreeDepth: Int
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def newReader(chunk: CH): Aux[CH]
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def peekByte(): Byte
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  42. def position: Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  43. final def positionLimit: Int
    Annotations
    @inline()
  44. final def positionLimit_=(v: Int): Unit
    Annotations
    @inline()
  45. def position_=(p: Int): Unit
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  46. val r: Reader
  47. def remaining: Int
    Definition Classes
    SigmaByteReader → Reader
    Annotations
    @inline()
  48. var resolvePlaceholdersToConstants: Boolean
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. lazy val valDefTypeStore: ValDefTypeStore

    The reader should be lightweight to create.

    The reader should be lightweight to create. In most cases ErgoTrees don't have ValDef nodes hence the store is not necessary and it's initialization dominates the reader instantiation time. Hence it's lazy.

  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Reader

Inherited from AnyRef

Inherited from Any

Ungrouped