template <>

class WireSyncClientImpl

Defined at line 1082 of file fidling/gen/sdk/fidl/fuchsia.boot/fuchsia.boot/cpp/fidl/fuchsia.boot/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_boot::Arguments>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_boot::Arguments::GetString> GetString (::fidl::StringView key)

Get the value of a boot argument `key`.

Allocates 256 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_boot::Arguments::GetStrings> GetStrings (::fidl::VectorView< ::fidl::StringView> keys)

Get the values of a list of arguments specified in `keys`.

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_boot::Arguments::GetBool> GetBool (::fidl::StringView key, bool defaultval)

Get the boolean value of a boot argument `keys`,

or return `defaultval` if the argument is not present.

A key is considered to be false if its string value is exactly

"off", "0", or "false". Any other value (including empty) is returned

as true.

Allocates 128 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_boot::Arguments::GetBools> GetBools (::fidl::VectorView< ::fuchsia_boot::wire::BoolPair> keys)

Get the boolean values of a list of boot arguments `keys.key`,

or return `keys.defaultval` for each if not present.

Allocates 288 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_boot::Arguments::Collect> Collect (::fidl::StringView prefix)

Get all boot arguments with keys starting with

`prefix`. Returns a vector with strings of the form 'key=value'.

TODO(https://fxbug.dev/42108659) - remove Collect once boot arguments have been componentised.

Allocates 96 bytes of request buffer on the stack. Response is heap-allocated.