flipperzero_sys

Function stream_delete_and_insert_string

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

Delete N chars from the stream and insert string to the stream

§Arguments

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

§Returns

true if the operation was successful false on error