bit_lib_bytes_to_num_bcd

Function bit_lib_bytes_to_num_bcd 

Source
pub unsafe extern "C" fn bit_lib_bytes_to_num_bcd(
    src: *const u8,
    len: u8,
    is_bcd: *mut bool,
) -> u64
Expand description

Convert bytes in binary-coded decimal encoding to number

§Arguments

  • src - byte array
  • len - max used bytes count
  • is_bcd - will be true if all processed bytes is BCD encoded (no A-F nibbles)

§Returns

uint64_t