Utility to print char arrays/pointers as hexadecimal values. More...
#include <Hex.h>
Static Public Member Functions | |
static void | Print (char message[], int messageLength) |
Prints char array as hexadecimal values. More... | |
static void | Print (char *data) |
Prints char pointer as hexadecimal values. More... | |
Utility to print char arrays/pointers as hexadecimal values.
|
inlinestatic |
Prints char array as hexadecimal values.
For printing the char array as hexadecimal, it uses the std::hex option. The char array is casted and printed char by char.
message | Char array with message to be displayed. |
messageLength | Length of the char array. |
|
inlinestatic |
Prints char pointer as hexadecimal values.
Casts the pointer to a char array and uses the char array version of the function.
data | Char pointer with message to be displayed. |