[][src]Function serial_unit_testing::utils::print_radix_string

pub fn print_radix_string(
    buffer: &[u8],
    text_format: &TextFormat,
    row_entries: &mut u32
)

Print a vector of bytes in given format.

Depending on the format newlines will be inserted after some entries as followed:

  • Binary: 10
  • Octal: 16
  • Decimal: 18
  • Hexadecimal: 20

Row entries will contain the number of entries in the last row after execution.