Skip to main content

read_at

Function read_at 

pub async fn read_at(
    file: Arc<File>,
    offset: u64,
    len: usize,
) -> Result<Vec<u8>, Error>
Expand description

Read up to len bytes at offset. Returns fewer only at end of file.

ยงErrors

The underlying positioned-read error.