fuchsia_fs::file

Function read_to_string

Source
pub async fn read_to_string(file: &FileProxy) -> Result<String, ReadError>
Expand description

Reads a utf-8 encoded string from the given file’s current offset to the end of the file.