*<Null safety>*
void sendMessage (OutgoingMessage message)
Sends the given messages over the bound channel.
Used by subclasses of Proxy<T> to send encoded messages.
Implementation
void sendMessage(OutgoingMessage message) {
if (!_reader.isBound) {
proxyError('The proxy is closed.');
return;
}
final int status = _reader.channel!.write(message.data, message.handles);
if (status != ZX.OK)
proxyError(
'Failed to write to channel: ${_reader.channel} (status: $status)');
}