Function flipper0::ffi::stream_delete

source ·
pub unsafe extern "C" fn stream_delete(
    stream: *mut Stream,
    size: usize
) -> bool
Expand 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. @param stream Stream instance @param size how many chars need to be deleted @return true if the operation was successful @return false on error