flipperzero_sys

Function bit_buffer_append_bytes

Source
pub unsafe extern "C" fn bit_buffer_append_bytes(
    buf: *mut BitBuffer,
    data: *const u8,
    size_bytes: usize,
)
Expand description

Append a byte array to a BitBuffer instance.

The destination capacity must be no less its original data size plus source data size.

ยงArguments

  • buf (direction in, out) - pointer to a BitBuffer instance to be appended to
  • data (direction in) - pointer to the byte array to be appended
  • size_bytes (direction in) - size of the data to be appended, in bytes