Crate qdhex

Source
Expand description

This crate provides functions to create human readable hex dumps of binary data.

Functionsยง

bare_dump
Create a simple hex dump of the given data. The dump contains pairs of hex digits, separated by spaces, no line breaks, decorations, etc.
bare_dump_string
Create a simple hex dump of the given data. The dump contains pairs of hex digits, separated by spaces, no line breaks, decorations, etc.
formatted_dump
Create a formatted multi-line hex dump of the given data. Dump lines are prefixed with the given offset. Each line contains up to 16 bytes, separated by spaces, followed by a space and the ASCII representation.
formatted_dump_string
Create a formatted multi-line hex dump of the given data. Dump lines are prefixed with the given offset. Each line contains up to 16 bytes, separated by spaces, followed by a space and the ASCII representation.
write_bare_dump_to_vec
Write a simple hex dump of the given data to the given target. The dump contains pairs of hex digits, separated by spaces, no line breaks, decorations, etc.
write_formatted_dump_to_vec
Write a formatted multi-line hex dump of the given data to the given target. Dump lines are prefixed with the given offset. Each line contains up to 16 bytes, separated by spaces, followed by a space and the ASCII representation.