Crate hxx

Source
Expand description

§hxx

hxx is a minimal re-implementation of the xxd command-line utility.

§Features

  • Generate hex dumps from files or stdin, with output directed to a file or stdout.
  • Customize hex dump formatting, including column width and byte grouping.
  • Rebuild original binary data from hex dump input.

Structs§

Config
Configuration for hex dumping and reverse hex dumping operations.

Functions§

hex_dump
Processes input on a single thread and generates a hex dump using the provided Config.
print_usage
Prints the usage information for the program and exits with a non-zero status.
print_version
Prints the program name and version, then exits successfully.
reverse_hex_dump
Performs a reconstruction of binary data from a hex dump using the given Config.
run
Performs the appropriate operation, depending on the provided Config.