Function flipperzero_sys::bit_buffer_copy_right

source ·
pub unsafe extern "C" fn bit_buffer_copy_right(
    buf: *mut BitBuffer,
    other: *const BitBuffer,
    start_index: usize,
)
Expand description

Copy all BitBuffer instance’s contents to this one, starting from start_index, replacing all of the original data. The destination capacity must be no less than the source data size counting from start_index.

§Arguments

  • [in,out] - buf pointer to a BitBuffer instance to copy into
  • [in] - other pointer to a BitBuffer instance to copy from
  • [in] - start_index index to begin copying source data from