Ashet OS

async_call: ashet.fs.Read

Documentation

directly reads data from a given offset into the file. no streaming API to the kernel

Inputs

file: File
offset: u64
buffer: bytebuf

Outputs

count: usize

Errors

DiskError
InvalidHandle
SystemResources