template <>
class WireSyncBufferClientImpl
Defined at line 1682 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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`.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.