flipperzero_sys

Function bit_buffer_set_byte

Source
pub unsafe extern "C" fn bit_buffer_set_byte(
    buf: *mut BitBuffer,
    index: usize,
    byte: u8,
)
Expand description

Set byte value at a specified index in a BitBuffer instance.

The index must be valid (i.e. less than the instance’s data size in bytes).

§Arguments

  • buf (direction in, out) - pointer to a BitBuffer instance to be modified
  • index (direction in) - index of the byte in question
  • byte (direction in) - byte value to be set at index