Function dec2bin(char *, unsigned long long int, Byte)

Function Documentation

void dec2bin(char *dst, unsigned long long int x, Byte len)

Convert decimal number x to character vector dst of length len representing a binary number

Parameters
  • dst: character array to store the binary number

  • x: decimal integer

  • len: length of the binary character array