class ExtendedAttributeValue
Defined at line 4634 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 4662 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_bytes ()
Defined at line 4666 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::std::vector<uint8_t> & bytes ()
Defined at line 4668 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 4673 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_buffer ()
Defined at line 4679 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::zx::vmo & buffer ()
Defined at line 4681 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::zx::vmo & buffer ()
Defined at line 4686 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::ExtendedAttributeValue::Tag Which ()
Defined at line 4693 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 4708 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 4711 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 4717 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
| Name | Value |
|---|---|
| kUnknown | 0 |
| kBytes | 1 |
| kBuffer | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 4647 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Friends
class Equality