FakeVmoHolder class

*<Null safety>*

Constructors

FakeVmoHolder (int size)

Creates a new FakeVmoHolder of the given size.

FakeVmoHolder.fromVmo (Vmo vmo, {int retries: 1024})

Snapshots and loads a real VMO in this holder.
factory

FakeVmoHolder.usingData (ByteData bytes)

Wraps a FakeVmoHolder around the given data.

Properties

bytes → ByteData

The memory contents of this “VMO”.
final

hashCode → int

The hash code for this object. ...
read-only, inherited

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

size → int

Size of the “VMO”.
final

vmoVmo

The raw VMO
read-only

Methods

beginWork() void

Starts an update.

commit() void

/ Finishes an update

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

read(int offset, int size) ByteData

Reads from the “VMO”.

readInt64(int offset) int

Reads int64 from VMO.

toString() String

Returns a string representation of this object.
inherited

write(int offset, ByteData data) void

Writes to the “VMO”.

writeInt64(int offset, int value) void

Writes int64 to VMO.

writeInt64Direct(int offset, int value) void

Writes int64 directly to VMO for immediate visibility.

Operators

operator ==(Object other) bool

The equality operator. ...
inherited