fidl::EncodedMessage

Summary

Constructors and Destructors

EncodedMessage(const EncodedMessage &)
EncodedMessage(EncodedMessage && other)
~EncodedMessage()

Public static functions

Create(cpp20::span< uint8_t > bytes)
Create(cpp20::span< uint8_t > bytes, zx_handle_t *handles, fidl_channel_handle_metadata_t *handle_metadata, uint32_t handle_actual)
Create(cpp20::span< uint8_t > bytes, fidl_handle_t *handles, typename Transport::HandleMetadata *handle_metadata, uint32_t handle_actual)

Public functions

CloseHandles()&&
void
Release()&&
std::pair< cpp20::span< uint8_t >, cpp20::span< fidl_handle_t > >
ReleaseHandles()&&
void
bytes() const
cpp20::span< uint8_t >
handle_metadata() const
Transport::HandleMetadata *
handles() const
fidl_handle_t *
num_handles() const
uint32_t
operator=(const EncodedMessage &)=delete
operator=(EncodedMessage && other) noexcept
raw_handle_metadata() const
fidl_handle_metadata_t *

Public static functions

Create

EncodedMessage Create(
  cpp20::span< uint8_t > bytes
)

Create

EncodedMessage Create(
  cpp20::span< uint8_t > bytes,
  zx_handle_t *handles,
  fidl_channel_handle_metadata_t *handle_metadata,
  uint32_t handle_actual
)

Create

EncodedMessage Create(
  cpp20::span< uint8_t > bytes,
  fidl_handle_t *handles,
  typename Transport::HandleMetadata *handle_metadata,
  uint32_t handle_actual
)

Public functions

CloseHandles

void CloseHandles()&&

EncodedMessage

 EncodedMessage(
  const EncodedMessage &
)=delete

EncodedMessage

 EncodedMessage(
  EncodedMessage && other
) noexcept

Release

std::pair< cpp20::span< uint8_t >, cpp20::span< fidl_handle_t > > Release()&&

ReleaseHandles

void ReleaseHandles()&&

bytes

cpp20::span< uint8_t > bytes() const 

handle_metadata

Transport::HandleMetadata * handle_metadata() const 

handles

fidl_handle_t * handles() const 

num_handles

uint32_t num_handles() const 

operator=

EncodedMessage & operator=(
  const EncodedMessage &
)=delete

operator=

EncodedMessage & operator=(
  EncodedMessage && other
) noexcept

raw_handle_metadata

fidl_handle_metadata_t * raw_handle_metadata() const 

~EncodedMessage

 ~EncodedMessage()