zx::stream

Summary

Inheritance

Inherits from: zx::object< stream >

Constructors and Destructors

stream()
stream(zx_handle_t value)
stream(handle && h)
stream(stream && other)

Public static attributes

TYPE = ZX_OBJ_TYPE_STREAM
constexpr zx_obj_type_t

Public functions

get_prop_mode_append(uint8_t *value)
zx_status_t
operator=(stream && other)
stream &
readv(uint32_t options, const zx_iovec_t *vector, size_t vector_count, size_t *actual)
zx_status_t
readv_at(uint32_t options, zx_off_t offset, const zx_iovec_t *vector, size_t vector_count, size_t *actual)
zx_status_t
seek(zx_stream_seek_origin_t whence, int64_t offset, zx_off_t *out_seek)
zx_status_t
set_prop_mode_append(uint8_t value)
zx_status_t
writev(uint32_t options, const zx_iovec_t *vector, size_t vector_count, size_t *actual)
zx_status_t
writev_at(uint32_t options, zx_off_t offset, const zx_iovec_t *vector, size_t vector_count, size_t *actual)
zx_status_t

Public static functions

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

Public static attributes

TYPE

constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_STREAM

Public functions

get_prop_mode_append

zx_status_t get_prop_mode_append(
  uint8_t *value
)

operator=

stream & operator=(
  stream && other
)

readv

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

readv_at

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

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

set_prop_mode_append

zx_status_t set_prop_mode_append(
  uint8_t value
)

stream

constexpr stream()=default

stream

 stream(
  zx_handle_t value
)

stream

 stream(
  handle && h
)

stream

 stream(
  stream && other
)

writev

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

writev_at

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

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