class WritePartition

Defined at line 199 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/markers.h

Writes `payload` to a raw partition by name starting at `offset`.

The number of bytes to write is read from the `ZX_PROP_VMO_CONTENT_SIZE` property of

`payload`. Both `offset` and the write size may be arbitrary byte values and do not need to

be aligned to the partition's block size.

Any leading partial block (when `offset` is not block-aligned) is always updated via

read-modify-write to preserve existing bytes prior to `offset`. Behavior for partition

contents after `offset + size` is controlled by `trailing`.

On some platforms, written data may be buffered in memory and is not guaranteed to be

persisted to storage until `Flush` is called.

Returns `ZX_ERR_OUT_OF_RANGE` if `offset + size` exceeds the partition size.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal