SizedVmo class

Inheritance

  • Object
  • Vmo
  • SizedVmo

Constructors

SizedVmo (Handle handle, int _size)

SizedVmo.fromFile (String path)

Uses fdio_get_vmo_clone() to get a VMO for the file at path in the current Isolate's namespace. ... factory

SizedVmo.fromUint8List (Uint8List bytes)

Constructs a VMO using the given bytes. The returned Vmo is read-only. factory

Properties

handleHandle

read-only, inherited

hashCode → int

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

isValid → bool

read-only, inherited

runtimeType → Type

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

size → int

Size of the Vmo in bytes.
read-only

Methods

close() void

inherited

duplicate(int rights) Vmo

Duplicate this Vmo with the given rights.
inherited

getSize() GetSizeResult

inherited

map() Uint8List

Maps the Vmo into the process's root vmar, and returns it as a typed data array. ...
inherited

noSuchMethod(Invocation invocation) dynamic

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

passHandle() Handle

inherited

read(int numBytes, [int vmoOffset = 0]) ReadResult

inherited

setSize(int size) int

inherited

toString() String

A string representation of this object. ...
inherited

write(ByteData data, [int vmoOffset = 0]) int

inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited