VmoFile class

*[<Null safety>](https://dart.dev/null-safety)*

A node which wraps a VMO that can be duplicated when opened.

Reads when opening a VmoFile as a file are buffered, and repeated reads will obtain the same information unless the connection is closed between reads. A duplicate of the underlying VMO is exposed through Node.Describe when VmoSharingMode is shareDuplicate.

Inheritance

Constructors

VmoFile.readOnly (Vmo _vmo, VmoSharingMode _sharingMode)

Constructor for read-only Vmo

Properties

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

Methods

close() void

Close this node and all of its bindings and children.
inherited

connect(dynamic flags, int mode, InterfaceRequest request, [dynamic parentFlags]) int

Connects to this instance of PseudoFile and serves fidl_fuchsia_io.File over fidl.
inherited

describe() dynamic

override

describe2() dynamic

inherited

filterForNodeReference(dynamic flags) dynamic

Filter flags when OpenFlags.nodeReference is passed. This will maintain compatibility with c++ layer.
inherited

getBackingMemory(dynamic flags) Vmo

override

getConnectionInfo() dynamic

override

inodeNumber() int

Inode number as defined in fuchsia.io.
inherited

noSuchMethod(Invocation invocation) dynamic

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

open(dynamic flags, int mode, String path, InterfaceRequest request, [dynamic parentFlags]) void

This function is called from fidl_fuchsia_io.Directory#open. This function parses path and opens correct node.
inherited

sendErrorEvent(dynamic flags, int status, InterfaceRequest request) void

Create a error node to send onOpen event with failure status.
inherited

toString() String

A string representation of this object.
inherited

type() dynamic

inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited