class SigmaByteReader extends Reader
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SigmaByteReader
- Reader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SigmaByteReader(r: Reader, constantStore: ConstantStore, resolvePlaceholdersToConstants: Boolean, maxTreeDepth: Int = SigmaSerializer.MaxTreeDepth)
Type Members
-
type
CH = scorex.util.serialization.Reader.CH
- Definition Classes
- SigmaByteReader → Reader
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
addComplexity(delta: Int): Unit
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
complexity: Int
- Annotations
- @inline()
-
final
def
complexity_=(v: Int): Unit
- Annotations
- @inline()
- var constantStore: ConstantStore
-
def
consumed: Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
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] )
-
def
getBits(size: Int): Array[Boolean]
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getByte(): Byte
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getBytes(size: Int): Array[Byte]
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getChunk(size: Int): CH
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getInt(): Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getLong(): Long
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getOption[T](getValue: ⇒ T): Option[T]
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getShort(): Short
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getShortString(): String
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getType(): SType
- Annotations
- @inline()
-
def
getUByte(): Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getUInt(): Long
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getULong(): Long
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getUShort(): Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
getValue(): SValue
- Annotations
- @inline()
-
def
getValues(): IndexedSeq[SValue]
- Annotations
- @inline()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
level: Int
- Annotations
- @inline()
-
def
level_=(v: Int): Unit
- Annotations
- @inline()
-
def
mark(): SigmaByteReader.this.type
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
- val maxTreeDepth: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newReader(chunk: CH): Aux[CH]
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
peekByte(): Byte
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
def
position: Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
-
final
def
positionLimit: Int
- Annotations
- @inline()
-
final
def
positionLimit_=(v: Int): Unit
- Annotations
- @inline()
-
def
position_=(p: Int): Unit
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
- val r: Reader
-
def
remaining: Int
- Definition Classes
- SigmaByteReader → Reader
- Annotations
- @inline()
- var resolvePlaceholdersToConstants: Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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.
-
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()