fuchsia_fs::file

Function read

Source
pub async fn read(file: &FileProxy) -> Result<Vec<u8>, ReadError>
Expand description

Reads all data from the given file’s current offset to the end of the file.