# zx::iob

## Summary

### Inheritance

Inherits from: [zx::object\< iob \>](https://fuchsia.dev/reference/cpp/class/zx/object)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1a7307bd0ac86efc0aab2dc7db3b6266a0()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1a475c66ef8c5288353043bc51b12c048b(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1ae3ceaa16ce3e501b756f66a096971162(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1aecb54d648e2d15214af6c2786b81d9ec(https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1a7f7e78ae02f03d368220fca49b7247d1 = ZX_OBJ_TYPE_IOB` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1ac739655d10fbce00b52ccf629ab22b39(https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob && other)` | `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob &` |
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1a1ab8b806ade827f1e38b8e97bd3f375f(zx_iob_write_options_t options, uint32_t region_index, const https://fuchsia.dev/reference/cpp/struct/zx-iovec#structzx__iovec *vector, size_t vector_count)` | `https://fuchsia.dev/reference/cpp/other/singletonzx/result#singletonzx_1_1result` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob_1aa6aa6cd38f4b5bdd4a2e061d0bfa2bb8(uint64_t options, https://fuchsia.dev/reference/cpp/struct/zx-iob-region#structzx__iob__region *regions, uint32_t region_count, https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob *endpoint0, https://fuchsia.dev/reference/cpp/class/zx/iob#classzx_1_1iob *endpoint1)` | `zx_status_t` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_IOB
```

## Public functions

### iob

```c++
constexpr iob()=default
```

### iob

```c++
 iob(
  zx_handle_t value
)
```

### iob

```c++
 iob(
  handle && h
)
```

### iob

```c++
 iob(
  iob && other
)
```

### operator=

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

### writev

```c++
zx::result writev(
  zx_iob_write_options_t options,
  uint32_t region_index,
  const zx_iovec_t *vector,
  size_t vector_count
)
```

## Public static functions

### create

```c++
zx_status_t create(
  uint64_t options,
  zx_iob_region_t *regions,
  uint32_t region_count,
  iob *endpoint0,
  iob *endpoint1
)
```