pub async fn read(file: &FileProxy) -> Result<Vec<u8>, ReadError>
Reads all data from the given file’s current offset to the end of the file.