class Buffer

Defined at line 526 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

Represents a buffer parameter.

Public Methods

void Buffer ()

Defined at line 528 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

void Buffer (const Buffer & other)

Defined at line 529 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

void Buffer (Buffer && other)

Defined at line 531 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_tee::wire::Buffer> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_tee::wire::Buffer> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tee::wire::Buffer>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

::fuchsia_tee::wire::Direction & direction ()
bool has_direction ()
::zx::vmo & vmo ()

The VMO is allowed to be not present for situations where the TEE allows for buffer size

checks.

For example, if the operation to be performed needs an output buffer, but the user cannot

calculate how large that output buffer should be, they can attempt the operation without

a vmo and the Trusted Application will populate the size field so that the operation can

be performed again with an appropriately sized buffer.

bool has_vmo ()
uint64_t & offset ()
bool has_offset ()
Buffer & operator= (const Buffer & other)

Defined at line 530 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

Buffer & operator= (Buffer && other)

Defined at line 532 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

uint64_t & size ()
bool has_size ()
Buffer & set_direction (::fuchsia_tee::wire::Direction elem)
Buffer & clear_direction ()
Buffer & set_vmo (::zx::vmo elem)
Buffer & clear_vmo ()
Buffer & set_offset (::fidl::ObjectView<uint64_t> elem)
Buffer & set_offset (std::nullptr_t )
Buffer & clear_offset ()
Buffer & set_size (::fidl::ObjectView<uint64_t> elem)
Buffer & set_size (std::nullptr_t )
Buffer & clear_size ()
void Buffer (::fidl::AnyArena & allocator)
void Buffer (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tee::wire::Buffer>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tee::wire::Buffer>> && frame_ptr)
void ~Buffer ()

Defined at line 534 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder