8 lines
No EOL
368 B
C
8 lines
No EOL
368 B
C
// 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 of bytes on each output line.
|
|
|
|
void hexDump(const char * desc, const void * addr, const int len, int perLine); |