CNDP
22.08.0
|
Go to the source code of this file.
Functions | |
CNDP_API void | cne_hexdump (FILE *f, const char *title, const void *buf, unsigned int len) |
CNDP_API void | cne_memdump (FILE *f, const char *title, const void *buf, unsigned int len) |
Simple API to dump out memory in a special hex format.
Definition in file hexdump.h.
CNDP_API void cne_hexdump | ( | FILE * | f, |
const char * | title, | ||
const void * | buf, | ||
unsigned int | len | ||
) |
Dump out memory in a special hex dump format.
f | A pointer to a file for output |
title | If not NULL this string is printed as a header to the output. |
buf | This is the buffer address to print out. |
len | The number of bytes to dump out |
CNDP_API void cne_memdump | ( | FILE * | f, |
const char * | title, | ||
const void * | buf, | ||
unsigned int | len | ||
) |
Dump out memory in a hex format with colons between bytes.
f | A pointer to a file for output |
title | If not NULL this string is printed as a header to the output. |
buf | This is the buffer address to print out. |
len | The number of bytes to dump out |