flipperzero_sys

Function stream_delete_and_insert_cstring

Source
pub unsafe extern "C" fn stream_delete_and_insert_cstring(
    stream: *mut Stream,
    delete_size: usize,
    string: *const c_char,
) -> bool
Expand description

Delete N chars from the stream and insert const char* to the stream

§Arguments

  • stream - Stream instance
  • delete_size - size of data to be deleted
  • string - c-string value

§Returns

true if the operation was successful false on error