class Buffer

Defined at line 308 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_types.h

Represents a buffer parameter.

Public Methods

void Buffer (Storage_ storage)
void Buffer ()

Defined at line 314 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_types.h

void Buffer (Buffer && )

Defined at line 315 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_types.h

bool IsEmpty ()
const std::optional< ::fuchsia_tee::Direction> & direction ()
::std::optional< ::fuchsia_tee::Direction> & direction ()
Buffer & direction (std::optional< ::fuchsia_tee::Direction> value)

Setter for direction.

Buffer & operator= (Buffer && )

Defined at line 316 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_types.h

const std::optional< ::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.

::std::optional< ::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.

Buffer & vmo (std::optional< ::zx::vmo> value)

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.

const std::optional<uint64_t> & offset ()
::std::optional<uint64_t> & offset ()
Buffer & offset (std::optional<uint64_t> value)

Setter for offset.

const std::optional<uint64_t> & size ()
::std::optional<uint64_t> & size ()
Buffer & size (std::optional<uint64_t> value)

Setter for size.

void Buffer (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits