Crate mem_util

Source
Expand description

Utilities for working with the fuchsia.mem FIDL library.

Enums§

DataError
Errors that can occur when operating on fuchsia.mem.Data values.
FileError
Errors that can occur when operating on DirectoryProxys and FileProxys.

Functions§

bytes_from_data
Retrieve the bytes in data, returning a reference if it’s a Data::Bytes and a copy of the bytes read from the VMO if it’s a Data::Buffer.
open_file_data
Open path from given parent directory, returning an fmem::Data of the contents.