Function flipperzero_sys::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

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