Object dump

Allows to print out data dumps of memory regions. More...

Detailed Description

Files

file  od.h
 

Macros

#define OD_WIDTH_DEFAULT   (16)
 Default value for parameter width of od_hex_dump()
 

Functions

void od_hex_dump (const void *data, size_t data_len, uint8_t width)
 Dumps memory stored at data byte-wise up to data_len in hexadecimal representation to stdout with. More...
 

Function Documentation

◆ od_hex_dump()

void od_hex_dump ( const void *  data,
size_t  data_len,
uint8_t  width 
)
Parameters
[in]dataData to dump.
[in]data_lenLength in bytes of data to output.
[in]widthNumber of bytes per line. If width is 0, OD_WIDTH_DEFAULT is assumed as a default value.