inspect::Snapshot

Summary

Constructors and Destructors

Snapshot()
Snapshot(Snapshot &&)
Snapshot(const Snapshot &)
~Snapshot()

Public types

ReadObserver using
fit::function< void(const uint8_t *buffer, size_t buffer_size)>

Public static attributes

kDefaultOptions
const Options

Public static functions

Create(const zx::vmo & vmo, Snapshot *out_snapshot)
zx_status_t
Create(const zx::vmo & vmo, Options options, Snapshot *out_snapshot)
zx_status_t
Create(const zx::vmo & vmo, Options options, ReadObserver read_observer, Snapshot *out_snapshot)
zx_status_t
Create(BackingBuffer && buffer, Snapshot *out_snapshot)
zx_status_t

Public functions

data() const
const uint8_t *
operator bool() const
operator=(Snapshot &&)=default
operator=(const Snapshot &)=default
size() const
size_t

Structs

inspect::Snapshot::Options

Public types

ReadObserver

fit::function< void(const uint8_t *buffer, size_t buffer_size)> ReadObserver

Public static attributes

kDefaultOptions

const Options kDefaultOptions

Public static functions

Create

zx_status_t Create(
  const zx::vmo & vmo,
  Snapshot *out_snapshot
)

Create

zx_status_t Create(
  const zx::vmo & vmo,
  Options options,
  Snapshot *out_snapshot
)

Create

zx_status_t Create(
  const zx::vmo & vmo,
  Options options,
  ReadObserver read_observer,
  Snapshot *out_snapshot
)

Create

zx_status_t Create(
  BackingBuffer && buffer,
  Snapshot *out_snapshot
)

Public functions

Snapshot

 Snapshot()=default

Snapshot

 Snapshot(
  Snapshot &&
)=default

Snapshot

 Snapshot(
  const Snapshot &
)=default

data

const uint8_t * data() const 

operator bool

 operator bool() const 

operator=

Snapshot & operator=(
  Snapshot &&
)=default

operator=

Snapshot & operator=(
  const Snapshot &
)=default

size

size_t size() const 

~Snapshot

 ~Snapshot()=default