Function flipper0::ffi::storage_file_read
source · pub unsafe extern "C" fn storage_file_read(
file: *mut File,
buff: *mut c_void,
bytes_to_read: u16
) -> u16
Expand description
Reads bytes from a file into a buffer @param file pointer to file object. @param buff pointer to a buffer, for reading @param bytes_to_read how many bytes to read. Must be less than or equal to the size of the buffer. @return uint16_t how many bytes were actually read