Function flipperzero_sys::stream_delete_and_insert
source · pub unsafe extern "C" fn stream_delete_and_insert(
stream: *mut Stream,
delete_size: usize,
write_callback: StreamWriteCB,
context: *const c_void
) -> boolExpand description
Delete N chars from the stream and write data by calling write_callback(context)
Returns:
- true if the operation was successful
- false on error
Arguments
stream- Stream instancedelete_size- size of data to be deletedwrite_callback- write callbackcontext- write callback context