I have a byte array and I need to print the elements in a single line.
I tried using 'snprintf()
' but it won't take a byte array as its input parameter.
I tried copying the byte array into an integer array and then used the snprintf()
, but instead of printing the HEX values, corresponding ASCII values are printed.