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