class OutgoingMessageBuffer

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

Public Methods

void OutgoingMessageBuffer (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 26 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 28 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 31 of file ../../sdk/lib/fidl/hlcpp/include/lib/fidl/cpp/message_buffer.h

void ~OutgoingMessageBuffer ()

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

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

zx_handle_disposition_t * handles ()

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

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

uint32_t handles_capacity ()

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

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

HLCPPOutgoingMessage CreateEmptyOutgoingMessage ()

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

The returned |HLCPPOutgoingMessage| contains no bytes or handles.

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