template <>

class WireWeakOnewayBufferClientImpl

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

Public Methods

::fidl::OneWayStatus Open (::zx::handle && parent_directory_token, ::fidl::StringView name, ::fidl::ServerEnd< ::fuchsia_storage_block::Block> && server_end)

Opens a file as a block device and starts serving block requests.

`name` must refer to an existing file in the directory represented by

`parent_directory_token`.

The block size of the device will match the underlying filesystem's block size. If the

file's size is not a multiple of the block size, the apparent size of the device will be

rounded down.

`parent_directory_token` is a token obtained via `fuchsia.io.Directory/GetToken`. The

directory connection must have the `MODIFY_DIRECTORY` right.

Errors will be sent as an epitaph on `server_end`.

Caller provides the backing storage for FIDL message.