Function flipperzero_sys::stream_delete
source · pub unsafe extern "C" fn stream_delete(
stream: *mut Stream,
size: usize
) -> boolExpand description
Remove N chars from the stream, starting at the current pointer. The size may be larger than stream size, the stream will be cleared from current RW pointer to the end.
Returns:
- true if the operation was successful
- false on error
Arguments
stream- Stream instancesize- how many chars need to be deleted