bit_buffer_set_byte_with_parity

Function bit_buffer_set_byte_with_parity 

Source
pub unsafe extern "C" fn bit_buffer_set_byte_with_parity(
    buff: *mut BitBuffer,
    index: usize,
    byte: u8,
    parity: bool,
)
Expand description

Set byte and parity bit 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

  • buff (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
  • parity (direction in) - parity bit value to be set at index