bit_buffer_copy_left

Function bit_buffer_copy_left 

Source
pub unsafe extern "C" fn bit_buffer_copy_left(
    buf: *mut BitBuffer,
    other: *const BitBuffer,
    end_index: usize,
)
Expand description

Copy all BitBuffer instance’s contents to this one, ending with end_index, replacing all of the original data.

The destination capacity must be no less than the source data size counting to end_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
  • end_index (direction in) - index to end copying source data at