Skip to main content

file_read_range

Function file_read_range 

Source
pub fn file_read_range(handle: u32, offset: u64, len: u32) -> Option<Vec<u8>>
Expand description

Read len bytes from offset of a picked file.

Returns the bytes actually read (may be shorter than len at EOF). None indicates an invalid handle or I/O error.