#include <evo/impl/str.h>
Explicitly format a hex dump from buffer.
- May span multiple lines if maxline is positive
- Includes an offsets and ASCII dump as well if not in compact mode
|
| const void * | buf |
| | Buffer to dump. More...
|
| |
| bool | compact |
| | Whether to use compact mode (no address or ASCII output) More...
|
| |
| uint | maxline |
| | Maximum bytes per line to dump, 0 for none (all 1 line) More...
|
| |
| ulong | size |
| | Buffer size in bytes to dump. More...
|
| |
| bool | upper |
| | Whether to use uppercase hex, false for lowercase. More...
|
| |
◆ FmtDump()
| FmtDump |
( |
const void * |
buf, |
|
|
ulong |
size, |
|
|
uint |
maxline = 24, |
|
|
bool |
compact = false, |
|
|
bool |
upper = false |
|
) |
| |
|
inline |
Explicitly format a hex dump of given buffer.
- Parameters
-
| buf | Buffer to dump |
| size | Buffer size in bytes to dump |
| maxline | Maximum bytes per line to dump, 0 for none (all 1 line) |
| compact | Whether to use compact mode (no address or ASCII output) |
| upper | Whether to use uppercase hex, false for lowercase |
◆ buf
◆ compact
Whether to use compact mode (no address or ASCII output)
◆ maxline
Maximum bytes per line to dump, 0 for none (all 1 line)
◆ size
Buffer size in bytes to dump.
◆ upper
Whether to use uppercase hex, false for lowercase.
The documentation for this struct was generated from the following file: