class Buffer

Defined at line 401 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

Represents a buffer parameter.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::tee::Direction & direction ()

Defined at line 407 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

bool has_direction ()

Defined at line 411 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

::fuchsia::tee::Direction * mutable_direction ()

Defined at line 415 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

void clear_direction ()

Defined at line 423 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

bool has_vmo ()

Defined at line 442 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

::zx::vmo * mutable_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.

Defined at line 453 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

void clear_vmo ()

Defined at line 461 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

const uint64_t & offset ()

Defined at line 469 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

bool has_offset ()

Defined at line 473 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

uint64_t * mutable_offset ()

Defined at line 477 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

void clear_offset ()

Defined at line 485 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

bool has_size ()

Defined at line 497 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

uint64_t * mutable_size ()

Defined at line 501 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

void clear_size ()

Defined at line 509 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

Buffer & set_direction (::fuchsia::tee::Direction _value)
Buffer & set_vmo (::zx::vmo _value)
Buffer & set_offset (uint64_t _value)
Buffer & set_size (uint64_t _value)
void Buffer ()
void Buffer (Buffer && other)
const ::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.

Defined at line 438 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

const uint64_t & size ()

Defined at line 493 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/hlcpp/fuchsia/tee/cpp/fidl.h

void ~Buffer ()
Buffer & operator= (Buffer && other)
::std::unique_ptr<Buffer> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Buffer * _value, size_t _offset)
zx_status_t Clone (Buffer * _result)