class OutgoingToEncodedMessage
Defined at line 150 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h
Holds the result of converting an outgoing message to an encoded message.
|fidl::Encode| defers handle rights and type validation to the transport.
This converter completes the encoding by performing those validation, without
necessarily writing the message to a transport.
|OutgoingToEncodedMessage| objects own the bytes and handles resulting from
conversion.
Public Methods
void OutgoingToEncodedMessage (OutgoingMessage & input)
Converts an outgoing message to an encoded message.
The provided |OutgoingMessage| must use the Zircon channel transport.
It also must be a non-transactional outgoing message (i.e. from standalone
encoding and not from writing a request/response).
In doing so, this function will make syscalls to fetch rights and type
information of any provided handles. The caller is responsible for ensuring
that returned handle rights and object types are checked appropriately.
The constructed |OutgoingToEncodedMessage| will take ownership over
handles from the input |OutgoingMessage|.
Defined at line 26 of file ../../sdk/lib/fidl/cpp/wire/message.cc
std::string FormatDescription ()
Defined at line 30 of file ../../sdk/lib/fidl/cpp/wire/message.cc
void ~OutgoingToEncodedMessage ()
Defined at line 166 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h
fidl::EncodedMessage & message ()
Defined at line 168 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h
fidl::Error error ()
Defined at line 173 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h
zx_status_t status ()
Defined at line 177 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h
bool ok ()
Defined at line 178 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/message.h