template <>

class WireWeakAsyncClientImpl

Defined at line 2497 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::RamdiskController::Create> Create (uint64_t block_size, uint64_t block_count, ::fidl::ObjectView< ::fuchsia_hardware_ramdisk::wire::Guid> type_guid)

Initializes a new Ramdisk instance with the provided block size and block count.

Takes an optional `type_guid`, which may be queried from the ramdisk instance.

Allocates 56 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::RamdiskController::CreateFromVmo> CreateFromVmo (::zx::vmo && vmo)

Initializes a new Ramdisk instance from a VMO. Uses a block size of `PAGE_SIZE`,

and derives the block count from the size of the VMO.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::RamdiskController::CreateFromVmoWithParams> CreateFromVmoWithParams (::zx::vmo && vmo, uint64_t block_size, ::fidl::ObjectView< ::fuchsia_hardware_ramdisk::wire::Guid> type_guid)

Same as CreateFromVmo, but with the given `block_size` and optional `type_guid`. If

`block_size` is zero, `PAGE_SIZE` will be used as `block_size`.

Allocates 56 bytes of request buffer on the stack. The callback is stored on the heap.