Skip to main content

volume_read

Function volume_read 

Source
pub fn volume_read(
    handle: usize,
    lba: usize,
    buf_ptr: usize,
    sector_count: usize,
) -> Result<usize, Error>
Expand description

Read sectors from a volume.

handle: volume capability handle. lba: starting logical block address. buf_ptr: destination buffer in user memory. sector_count: number of 512-byte sectors to read.