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