Function flipper0::ffi::stream_delete_and_insert
source · pub unsafe extern "C" fn stream_delete_and_insert(
stream: *mut Stream,
delete_size: usize,
write_callback: Option<unsafe extern "C" fn(*mut Stream, *const c_void) -> bool>,
context: *const c_void
) -> bool
Expand description
Delete N chars from the stream and write data by calling write_callback(context) @param stream Stream instance @param delete_size size of data to be deleted @param write_callback write callback @param context write callback context @return true if the operation was successful @return false on error