Function arceos_api::fs::ax_read_file_at

source ·
pub fn ax_read_file_at(
    file: &AxFileHandle,
    offset: u64,
    buf: &mut [u8]
) -> AxResult<usize>
Available on crate feature fs only.
Expand description

Reads the file at the given position, returns the number of bytes read.

It does not update the file cursor.