Google is committed to advancing racial equity for Black communities. See how.

VmoFile class

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

hashCodeint

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

runtimeTypeType

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(int flags, int mode, InterfaceRequest request, [int parentFlags = Flags.fsRights]) int

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

describe() dynamic

Describes this node. Returns null on error.
override

filterForNodeReference(int flags) int

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

inodeNumber() int

Inode number as defined in io.fidl.
inherited

noSuchMethod(Invocation invocation) dynamic

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

open(int flags, int mode, String path, InterfaceRequest request, [int parentFlags = Flags.fsRights]) void

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

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

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

toString() String

Returns a string representation of this object.
inherited

type() int

Should be one of ...
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited