flipperzero_sys

Function bit_buffer_get_size_bytes

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

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

If a partial byte is present, it is also counted.

§Arguments

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

§Returns

data size, in bytes.