# fidl::HLCPPOutgoingMessage

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a86fb9e5151a3ae8fcddfeb6041e817be()` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a79156ab1bf80e07f23772bd3a2ab6c69(https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part bytes, https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part handles)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1acedae697e50ad8112cf358867216b2e6(const https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message & other)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1acca93a38f1559f51f01fc662f99d71e6(https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message && other)` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a9bff29b258da142ca0b8d9007af2d9b9(zx_handle_t channel, uint32_t flags, zx_time_t deadline, https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-incoming-message#classfidl_1_1_h_l_c_p_p_incoming_message *response)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1af75d61de45f95556a9e693e9764955f7()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1abd986386edb303e16bbadb5528f8ea19(const fidl_type_t *type, const char **error_msg_out) const ` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a727d1de841054b55e1e0e6640f0122d2(zx_handle_t channel, uint32_t flags)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a105e10015aa95398fd0405d5dd9ccaba() const ` | `const https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-body#classfidl_1_1_h_l_c_p_p_outgoing_body &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a08d5f81497e9d1390c7bd8a0bb353623() const ` | `const https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1acf2972af6cc84fe62b99fa135e728c33()` | `https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a2370aefb4e9fa7c515c4801cca8a110a() const ` | `const https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a513a45b89de27832abb46a4ae03f9a41() const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a3ae290e8470af6fd75b15ecbf61aca7a() const ` | `const fidl_message_header_t &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1ab754bd953309967587a53ad97764ac53()` | `fidl_message_header_t &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a31adb6e65b819775764bae1126c703b2(const https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message & other)=delete` | `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1aecf4732e451a618950c11886f09da2c9(https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message && other)` | `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1af3853de7395a0ee2ad2188f489e87296() const ` | `uint64_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1ae4e4940baafd5b198b29621d26a2c1de(uint32_t num_bytes)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a85775f12f58f9a25e930e3c6ae132c5a(https://fuchsia.dev/reference/cpp/class/fidl/message-part#classfidl_1_1_message_part bytes)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1a0895f6ee37bf62df3e40ead6a773e8ab(zx_txid_t txid)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/h-l-c-p-p-outgoing-message#classfidl_1_1_h_l_c_p_p_outgoing_message_1ad6f54308e8b22ee324ac9f62014ebdd9() const ` | `zx_txid_t` |

## Public functions

### Call

```c++
zx_status_t Call(
  zx_handle_t channel,
  uint32_t flags,
  zx_time_t deadline,
  HLCPPIncomingMessage *response
)
```

### ClearHandlesUnsafe

```c++
void ClearHandlesUnsafe()
```

### HLCPPOutgoingMessage

```c++
 HLCPPOutgoingMessage()
```

### HLCPPOutgoingMessage

```c++
 HLCPPOutgoingMessage(
  BytePart bytes,
  HandleDispositionPart handles
)
```

### HLCPPOutgoingMessage

```c++
 HLCPPOutgoingMessage(
  const HLCPPOutgoingMessage & other
)=delete
```

### HLCPPOutgoingMessage

```c++
 HLCPPOutgoingMessage(
  HLCPPOutgoingMessage && other
)
```

### Validate

```c++
zx_status_t Validate(
  const fidl_type_t *type,
  const char **error_msg_out
) const 
```

### Write

```c++
zx_status_t Write(
  zx_handle_t channel,
  uint32_t flags
)
```

### body_view

```c++
const HLCPPOutgoingBody & body_view() const 
```

### bytes

```c++
const BytePart & bytes() const 
```

### handles

```c++
HandleDispositionPart & handles()
```

### handles

```c++
const HandleDispositionPart & handles() const 
```

### has_only_header

```c++
bool has_only_header() const 
```

### header

```c++
const fidl_message_header_t & header() const 
```

### header

```c++
fidl_message_header_t & header()
```

### operator=

```c++
HLCPPOutgoingMessage & operator=(
  const HLCPPOutgoingMessage & other
)=delete
```

### operator=

```c++
HLCPPOutgoingMessage & operator=(
  HLCPPOutgoingMessage && other
)
```

### ordinal

```c++
uint64_t ordinal() const 
```

### resize_bytes

```c++
void resize_bytes(
  uint32_t num_bytes
)
```

### set_bytes

```c++
void set_bytes(
  BytePart bytes
)
```

### set_txid

```c++
void set_txid(
  zx_txid_t txid
)
```

### txid

```c++
zx_txid_t txid() const 
```