bit_buffer_write_bytes

Function bit_buffer_write_bytes 

Source
pub unsafe extern "C" fn bit_buffer_write_bytes(
    buf: *const BitBuffer,
    dest: *mut c_void,
    size_bytes: usize,
)
Expand description

Write a BitBuffer instance’s entire contents to an arbitrary memory location.

The destination memory must be allocated. Additionally, the destination capacity must be no less than the source data size.

§Arguments

  • buf (direction in) - pointer to a BitBuffer instance to write from
  • dest (direction out) - pointer to the destination memory location
  • size_bytes (direction in) - maximum destination data size, in bytes