HomeManualTopicsTypesSymbols

debug::hexdump

writes a hexdump of the given string to stderr

Parameter

str
the string to dump

Results

None

Description

The function displays the string's hexadecimal representation.

The function can be called without I/O-access rights.

Example

$data "Hello, world!" debug::hexdump data

Error output

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

Topic

Debug

See also

std::hexdump writes a hexdump of the given string to stdout
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
debug::dump writes a string representation of an object to stderr