Function flipperzero_sys::stream_insert
source · pub unsafe extern "C" fn stream_insert(
stream: *mut Stream,
data: *const u8,
size: usize
) -> boolExpand description
Insert N chars to the stream, starting at the current pointer. Data will be inserted, not overwritten, so the stream will be increased in size.
Returns:
- true if the operation was successful
- false on error
Arguments
stream- Stream instancedata- data to be insertedsize- size of data to be inserted