class ExtendedAttributeValue

Defined at line 4780 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 ()
::std::vector<uint8_t> & bytes ()

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

bool is_buffer ()

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

::zx::vmo & buffer ()

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

const ::zx::vmo & buffer ()

Defined at line 4832 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 4854 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 4857 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 4863 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void ~ExtendedAttributeValue ()
void ExtendedAttributeValue (ExtendedAttributeValue && )
ExtendedAttributeValue & operator= (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)
bool has_invalid_tag ()

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

bool is_bytes ()

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

ExtendedAttributeValue & set_bytes (::std::vector<uint8_t> value)
ExtendedAttributeValue & set_buffer (::zx::vmo value)
ExtendedAttributeValue & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
::fuchsia::io::ExtendedAttributeValue::Tag Which ()

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

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 4793 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Friends

class Equality