StructReader<T> class abstract

An abstract reader for structs.

Inheritance

Constructors

StructReader()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
The size of the value in bytes.
no setterinherited

Methods

createObject(BufferContext bc, int offset) → T
Return the object at offset.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(BufferContext bp, int offset) → T
Read the value at the given offset in bc.
override
toString() String
A string representation of this object.
inherited
vTableGet(BufferContext object, int offset, int field, T defaultValue) → T
Read the value of the given field in the given object.
inherited
vTableGetNullable(BufferContext object, int offset, int field) → T?
Read the value of the given field in the given object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited