flipperzero_sys

Function 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

  • buf (direction in, out) - pointer to a BitBuffer instance to be resized
  • new_size (direction in) - the new size of the buffer, in bits