Records
Functions
-
zx_status_t ReadWriteBlocks (fidl::UnownedClientEnd<fuchsia_storage_block::Block>device,void *buffer,size_tbuffer_length,size_toffset,boolwrite)Defined at line 125 of file ../../src/storage/lib/block_client/cpp/remote_block_device.cc
-
zx_status_t SingleReadBytes (fidl::UnownedClientEnd<fuchsia_storage_block::Block>device,void *buffer,size_tbuffer_size,size_toffset)Helper functions for performing single reads and writes from a block. These functions are
provided as a drop in replacement for the discontinued pread and pwrite posix style calls.
buffer_size and offset are considered sizes in bytes, although reading and writing can only be
done in whole block increments. buffer must be pre-allocated to the correct size. These
functions are not performant; use the `RemoteBlockDevice` API above if performance matters.
Defined at line 227 of file ../../src/storage/lib/block_client/cpp/remote_block_device.cc
-
zx_status_t SingleWriteBytes (fidl::UnownedClientEnd<fuchsia_storage_block::Block>device,void *buffer,size_tbuffer_size,size_toffset)Defined at line 232 of file ../../src/storage/lib/block_client/cpp/remote_block_device.cc