bit_buffer_copy

Function bit_buffer_copy 

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

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

The destination capacity must be no less than the source data size.

§Arguments

  • buf (direction in, out) - pointer to a BitBuffer instance to copy into
  • other (direction in) - pointer to a BitBuffer instance to copy from