template <>

class WireSyncBufferClientImpl

Defined at line 4179 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_fxfs::BlobCreator::Create> Create (const ::fidl::Array<uint8_t, 32> & hash, bool allow_existing)

Creates a blob with the merkle root `hash`. If `allow_existing` is true, the server will

overwrite the existing blob if there is one. The server may fail this request with

`[CreateBlobError.ALREADY_EXISTS]` if there is already an inflight `BlobWriter` for the same

hash which has not been closed or completed. The client will truncate the blob with

[BlobWriter.GetVmo] and get a handle to a vmo in return. The client will then write blob

contents into the vmo and call [BlobWriter.BytesReady] on the 'writer` to signal to the

server that some number of bytes has been written to the vmo.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_fxfs::BlobCreator::NeedsOverwrite> NeedsOverwrite (const ::fidl::Array<uint8_t, 32> & blob_hash)

Given the hash of a blob, returns true if it should be overwritten using Create with

`allow_existing` set to true. Must respond the same as `BlobReader.GetVmo` in terms of

existence checks, responding ZX_ERR_NOT_FOUND under the same conditions.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.