# zx::stream

## Summary

### Inheritance

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

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1ac5e0a50c31013b83915dee6b3defd911()` ||
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1abdbbbd543b58217de883021d51e4f4f8(zx_handle_t value)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a0d388f9dc247b5533a1cdd0a2f75b350(https://fuchsia.dev/reference/cpp/class/zx/object#classzx_1_1object && h)` ||
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a229ef79a57813683cb16d2cda1e7f8f6(https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream && other)` ||

| ### Public static attributes ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1ab80ea1660440a0fca99148b61bfbfe5d = ZX_OBJ_TYPE_STREAM` | `constexpr zx_obj_type_t` |

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a947bacdd81a1f118f4f512d4a6ad35b3(uint8_t *value)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a224d15c6b61272e981b398ed0c1dc751(https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream && other)` | `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream &` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a6362e9f1db1a1a1ff73fbd10a2c859f3(uint32_t options, const https://fuchsia.dev/reference/cpp/struct/zx-iovec#structzx__iovec *vector, size_t vector_count, size_t *actual)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1ac61d0a96eeab660a6b7929eabbc02716(uint32_t options, zx_off_t offset, const https://fuchsia.dev/reference/cpp/struct/zx-iovec#structzx__iovec *vector, size_t vector_count, size_t *actual)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a207ac0d16b1758368c70e092064bc51a(zx_stream_seek_origin_t whence, int64_t offset, zx_off_t *out_seek)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1aa127b3ca408544fbc35a2e1a0f3d9ab4(uint8_t value)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a68394bca0972e0b360f69ac4653b10ed(uint32_t options, const https://fuchsia.dev/reference/cpp/struct/zx-iovec#structzx__iovec *vector, size_t vector_count, size_t *actual)` | `zx_status_t` |
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1ad44c0b422197f3d3ae9792bf4b02bd46(uint32_t options, zx_off_t offset, const https://fuchsia.dev/reference/cpp/struct/zx-iovec#structzx__iovec *vector, size_t vector_count, size_t *actual)` | `zx_status_t` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream_1a0c771be275b5efe99cb734a19f51c68e(uint32_t options, const https://fuchsia.dev/reference/cpp/class/zx/vmo#classzx_1_1vmo & vmo_handle, zx_off_t seek, https://fuchsia.dev/reference/cpp/class/zx/stream#classzx_1_1stream *out_stream)` | `zx_status_t` |

## Public static attributes

### TYPE

```c++
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_STREAM
```

## Public functions

### get_prop_mode_append

```c++
zx_status_t get_prop_mode_append(
  uint8_t *value
)
```

### operator=

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

### readv

```c++
zx_status_t readv(
  uint32_t options,
  const zx_iovec_t *vector,
  size_t vector_count,
  size_t *actual
)
```

### readv_at

```c++
zx_status_t readv_at(
  uint32_t options,
  zx_off_t offset,
  const zx_iovec_t *vector,
  size_t vector_count,
  size_t *actual
)
```

### seek

```c++
zx_status_t seek(
  zx_stream_seek_origin_t whence,
  int64_t offset,
  zx_off_t *out_seek
)
```

### set_prop_mode_append

```c++
zx_status_t set_prop_mode_append(
  uint8_t value
)
```

### stream

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

### stream

```c++
 stream(
  zx_handle_t value
)
```

### stream

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

### stream

```c++
 stream(
  stream && other
)
```

### writev

```c++
zx_status_t writev(
  uint32_t options,
  const zx_iovec_t *vector,
  size_t vector_count,
  size_t *actual
)
```

### writev_at

```c++
zx_status_t writev_at(
  uint32_t options,
  zx_off_t offset,
  const zx_iovec_t *vector,
  size_t vector_count,
  size_t *actual
)
```

## Public static functions

### create

```c++
zx_status_t create(
  uint32_t options,
  const vmo & vmo_handle,
  zx_off_t seek,
  stream *out_stream
)
```