stream_insert

Function stream_insert 

Source
pub unsafe extern "C" fn stream_insert(
    stream: *mut Stream,
    data: *const u8,
    size: usize,
) -> bool
Expand 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.

§Arguments

  • stream - Stream instance
  • data - data to be inserted
  • size - size of data to be inserted

§Returns

true if the operation was successful false on error