Function fuchsia_fs::file::read_num_bytes
source · pub async fn read_num_bytes(
file: &FileProxy,
num_bytes: u64,
) -> Result<Vec<u8>, ReadError>
Expand description
Attempts to read a number of bytes from the given file’s current offset. This function may return less data than expected.