flipperzero_sys

Function bit_buffer_get_size

Source
pub unsafe extern "C" fn bit_buffer_get_size(
    buf: *const BitBuffer,
) -> usize
Expand description

Get a BitBuffer instance’s data size (i.e. the amount of stored data), in bits.

Might be not divisible by 8 (see bit_buffer_is_partial_byte).

§Arguments

  • buf (direction in) - pointer to a BitBuffer instance to be queried

§Returns

data size, in bits.