flipperzero_sys

Function 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

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