Function flipperzero_sys::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
[in]- buf pointer to a BitBuffer instance to write from[out]- dest pointer to the destination memory location[in]- size_bytes maximum destination data size, in bytes