pub unsafe extern "C" fn bit_buffer_write_bytes_mid(
buf: *const BitBuffer,
dest: *mut c_void,
start_index: usize,
size_bytes: usize,
)Expand description
Write a slice of BitBuffer instance’s contents to an arbitrary memory location.
The destination memory must be allocated. Additionally, the destination capacity must be no less than the requested slice size.
§Arguments
buf(direction in) - pointer to a BitBuffer instance to write fromdest(direction out) - pointer to the destination memory locationstart_index(direction in) - index to begin copying source data fromsize_bytes(direction in) - data slice size, in bytes