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

zircon library

The Zircon Dart package contains several libraries required to support Fuchsia’s lower layer features, E.g. Zircon channels are used for the transport of the FIDL IPC system. Requiring this package directly should be rare for most mod or agent authors.

Classes

Channel

Typed wrapper around a Zircon channel object.

ChannelPair

Typed wrapper around a linked pair of channel objects and the zx_channel_create() syscall used to create them.

ChannelReader
ChannelReaderError
EventPair

Typed wrapper around a Zircon eventpair object.

EventPairPair

Typed wrapper around a linked pair of eventpair objects and the zx_eventpair_create() syscall used to create them.

FromFileResult
GetSizeResult
Handle
HandlePairResult
HandleResult
HandleWaiter
MapResult
ReadResult
SizedVmo

Typed wrapper around a Zircon vmo object, which also tracks its size.

Socket

Typed wrapper around a Zircon socket object.

SocketPair

Typed wrapper around a linked pair of socket objects and the zx_socket_create() syscall used to create them.

SocketReader
System
Vmo

Typed wrapper around a Zircon vmo object.

WriteResult
ZX

Functions

getStringForStatus(int status) String

Typedefs

AsyncWaitCallback(int status, int pending) void
ChannelReaderErrorHandler(ChannelReaderError error) void
ChannelReaderReadableHandler() void
SocketReaderErrorHandler(SocketReaderError error) void
SocketReaderReadableHandler() void

Exceptions / Errors

SocketReaderError
ZirconApiError
ZxStatusException

An exception representing an error returned as an zx_status_t.