template <>
class WireWeakSyncClientImpl
Defined at line 2548 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::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 136 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 104 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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 136 bytes of message buffer on the stack. No heap allocation necessary.