class ExtendedAttributeValue

Defined at line 4642 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

void ExtendedAttributeValue ()
void ExtendedAttributeValue (ExtendedAttributeValue && )
ExtendedAttributeValue WithBytes (::std::vector<uint8_t> && )
ExtendedAttributeValue WithBuffer (::zx::vmo && )
::std::unique_ptr<ExtendedAttributeValue> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ExtendedAttributeValue * value, size_t offset)
zx_status_t Clone (ExtendedAttributeValue * result)
ExtendedAttributeValue & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

Defined at line 4670 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_bytes ()

Defined at line 4674 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::std::vector<uint8_t> & bytes ()

Defined at line 4676 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::std::vector<uint8_t> & bytes ()

Defined at line 4681 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_buffer ()

Defined at line 4687 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::zx::vmo & buffer ()

Defined at line 4689 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::zx::vmo & buffer ()

Defined at line 4694 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::ExtendedAttributeValue::Tag Which ()

Defined at line 4701 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 4716 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 4719 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const std::vector<zx::handle> * UnknownHandles ()

Defined at line 4725 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void ~ExtendedAttributeValue ()
ExtendedAttributeValue & operator= (ExtendedAttributeValue && )
ExtendedAttributeValue & set_bytes (::std::vector<uint8_t> value)
ExtendedAttributeValue & set_buffer (::zx::vmo value)

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kBytes 1

0x1

kBuffer 2

0x2

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 4655 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Friends

class Equality