class ExtendedAttributeValue

Defined at line 3451 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

The value type for an extended attribute. If the value is less than 32768

bytes, then it is included inline. Values larger than this size are written

into a vmo buffer.

Public Methods

void ExtendedAttributeValue (ExtendedAttributeValue && other)
ExtendedAttributeValue & operator= (ExtendedAttributeValue && other)
bool IsUnknown ()
::fuchsia_io::ExtendedAttributeValue::Tag Which ()
ExtendedAttributeValue WithBytes (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<1, Storage_> bytes ()
::fidl::internal::UnionMemberView<1, Storage_> bytes ()
ExtendedAttributeValue & bytes (::std::vector<uint8_t> value)

Sets the union to hold the bytes member.

ExtendedAttributeValue WithBuffer (::zx::vmo val)
const ::fidl::internal::UnionMemberView<2, Storage_> buffer ()
::fidl::internal::UnionMemberView<2, Storage_> buffer ()
ExtendedAttributeValue & buffer (::zx::vmo value)

Sets the union to hold the buffer member.

void ExtendedAttributeValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kBytes 1
kBuffer 2
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 3461 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits