Function flipperzero_sys::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
[in,out]- buf pointer to a BitBuffer instance to copy into[in]- other pointer to a BitBuffer instance to copy from[in]- end_index index to end copying source data at