BytecodeReader class
Properties
bytes
↔ Uint8List
The bytecode, stores as uint8 list
getter/setter pair
curByte
→ int
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
ip
↔ int
Instruction pointer
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read ()
→ int
Fetch a single byte at the current instruction pointer
readBool ()
→ bool
Fetch a bool value from the bytes list
readFloat64 ()
→ double
Fetch a float64 from the bytes list
readInt16 ()
→ int
Fetch a int64 from the bytes list
readInt64 ()
→ int
Fetch a int32 from the bytes list
Fetch a int64 from the bytes list
Fetch a float64 from the bytes list
Fetch a int64 from the bytes list
Fetch a int64 from the bytes list
readUint16 ()
→ int
Fetch a uint16 from the bytes list
readUint32 ()
→ int
Fetch a uint32 from the bytes list
readUint8 ()
→ int
Fetch a uint8 from the bytes list
readUtf8String ()
→ String
Fetch a utf8 string from the bytes list
skip (int distance )
→ void
Skip forward distance
of bytes
toString ()
→ String
A string representation of this object.
inherited