The zx library is is defined by //zircon/vdso/zx_common.fidl. It is included by GN build rules into invocations of fidlc when building fidl code and need not be explicitly depended upon by every fidl library. If invoking fidlc directly, zx_common.fidl would need to be included with a --files argument if necessary.
You can reference this library with the using statement:
using zx;
The types generally correspond to Zircon System Types. For example, zx.duration corresponds to zx_duration_t.
The
CHANNEL_MAX_MSG_BYTESandCHANNEL_MAX_MSG_HANDLESare bound atfidlccompile time (that is, when the compiler is compiled) and reflect the constants present at that time.