class IncomingMessageBuffer

Defined at line 50 of file ../../sdk/lib/fidl/hlcpp/include/lib/fidl/cpp/message_buffer.h

Public Methods

void IncomingMessageBuffer (uint32_t bytes_capacity, uint32_t handles_capacity)

Creates a |MessageBuffer| that allocates buffers for message of the

given capacities.

The buffers are freed when the |MessageBuffer| is destructed.

Defined at line 46 of file ../../sdk/lib/fidl/hlcpp/message_buffer.cc

void ~IncomingMessageBuffer ()

The memory that backs the message is freed by this destructor.

Defined at line 54 of file ../../sdk/lib/fidl/hlcpp/message_buffer.cc

zx_handle_info_t * handles ()

The memory in which handles can be stored in this buffer.

Defined at line 56 of file ../../sdk/lib/fidl/hlcpp/message_buffer.cc

HLCPPIncomingMessage CreateEmptyIncomingMessage ()

Creates a |HLCPPIncomingMessage| that is backed by the memory in this buffer.

The returned |HLCPPIncomingMessage| contains no bytes or handles.

Defined at line 61 of file ../../sdk/lib/fidl/hlcpp/message_buffer.cc

uint8_t * bytes ()

The memory in which bytes can be stored in this buffer.

Defined at line 63 of file ../../sdk/lib/fidl/hlcpp/include/lib/fidl/cpp/message_buffer.h

uint32_t bytes_capacity ()

The total number of bytes that can be stored in this buffer.

Defined at line 66 of file ../../sdk/lib/fidl/hlcpp/include/lib/fidl/cpp/message_buffer.h

uint32_t handles_capacity ()

The total number of handles that can be stored in this buffer.

Defined at line 72 of file ../../sdk/lib/fidl/hlcpp/include/lib/fidl/cpp/message_buffer.h