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

Channel class

Typed wrapper around a Zircon channel object.

Constructors

Channel (Handle handle)

Channel.fromFile (String path)

Gets a Channel for accessing the file at path. ...
factory

Properties

handleHandle

read-only, inherited

hashCodeint

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

isValidbool

read-only, inherited

runtimeTypeType

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

Methods

close() void

inherited

noSuchMethod(Invocation invocation) dynamic

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

passHandle() Handle

inherited

queryAndRead() ReadResult
toString() String

Returns a string representation of this object.
inherited

write(ByteData data, [List<Handle> handles]) int

Operators

operator ==(Object other) bool

The equality operator. ...
inherited

Constants

MAX_MSG_BYTES const int
MAX_MSG_HANDLES const int
PEER_CLOSED const int
READ_MAY_DISCARD const int
READABLE const int
WRITABLE const int