class LongReadOptions

Defined at line 4075 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

Represents the supported options to read a long characteristic or descriptor

value from a server. Long values are those that may not fit in a single

message (longer than 22 bytes).

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint16_t & offset ()

The byte to start the read at. Must be less than the length of the value.

Optional.

Default: 0

Defined at line 4084 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

bool has_offset ()

Defined at line 4088 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

uint16_t * mutable_offset ()

The byte to start the read at. Must be less than the length of the value.

Optional.

Default: 0

Defined at line 4095 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

void clear_offset ()

Defined at line 4103 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

const uint16_t & max_bytes ()

The maximum number of bytes to read.

Optional.

Default: `MAX_VALUE_LENGTH`

Defined at line 4114 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

bool has_max_bytes ()

Defined at line 4118 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

uint16_t * mutable_max_bytes ()

The maximum number of bytes to read.

Optional.

Default: `MAX_VALUE_LENGTH`

Defined at line 4125 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

void clear_max_bytes ()

Defined at line 4133 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.gatt2/fuchsia.bluetooth.gatt2/hlcpp/fuchsia/bluetooth/gatt2/cpp/fidl.h

LongReadOptions & set_offset (uint16_t _value)
LongReadOptions & set_max_bytes (uint16_t _value)
void LongReadOptions ()
void LongReadOptions (LongReadOptions && other)
void ~LongReadOptions ()
LongReadOptions & operator= (LongReadOptions && other)
::std::unique_ptr<LongReadOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, LongReadOptions * _value, size_t _offset)
zx_status_t Clone (LongReadOptions * _result)