HomeManualTopicsTypesSymbols

std::hexdump

writes a hexdump of the given string to stdout

Parameter

str
the string to dump

Results

None

Description

Attention: This function must be called with I/O-access rights!

The function displays the string's hexadecimal representation.

Example

$data "Hello, world!" hexdump! data

Output

00000000: 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21

Topic

Debug

See also

std::ehexdump writes a hexdump of the given string to stderr
std::hexdump_to writes a hexdump of the given string to the given file descriptor
std::dump writes a string representation of some objects to stdout
debug::hexdump writes a hexdump of the given string to stderr