pub unsafe extern "C" fn bit_buffer_copy_bits(
buf: *mut BitBuffer,
data: *const u8,
size_bits: usize,
)Expand description
Copy a byte array to a BitBuffer instance, 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 intodata(direction in) - pointer to the byte array to be copiedsize_bits(direction in) - size of the data to be copied, in bits