Function flipperzero_sys::bit_buffer_set_size
source · pub unsafe extern "C" fn bit_buffer_set_size(
buf: *mut BitBuffer,
new_size: usize,
)Expand description
Resize a BitBuffer instance to a new size, in bits. May cause bugs. Use only if absolutely necessary.
§Arguments
[in,out]- buf pointer to a BitBuffer instance to be resized[in]- new_size the new size of the buffer, in bits