how to get hexdump of a structure data
The following code will give you a hex dump of arbitrary memory from within your code. #include <stdio.h> // Usage: // hexDump(desc, addr, len, perLine); // desc: if non-NULL, printed as a description before hex dump. // addr: the address to start dumping from. // len: the number of bytes to dump. // perLine: number … Read more