Function flipperzero_sys::bit_buffer_set_size_bytes

source ·
pub unsafe extern "C" fn bit_buffer_set_size_bytes(
    buf: *mut BitBuffer,
    new_size_bytes: usize,
)
Expand description

Resize a BitBuffer instance to a new size, in bytes. May cause bugs. Use only if absolutely necessary.

§Arguments

  • [in,out] - buf pointer to a BitBuffer instance to be resized
  • [in] - new_size_bytes the new size of the buffer, in bytes