Crate hexdump

source ·
Expand description

Easy hexdump to stdout or as an iterator.

§Example

extern crate hexdump;
hexdump::hexdump(b"12345\0\r\n\t .abcdef");

prints

|31323334 35000d0a 09202e61 62636465| 12345.... .abcde 00000000
|66|                                  f                00000010
                                                       00000011

Structs§

  • Return type of hexdump_iter.
  • A single line of hexdump output.

Functions§

  • Prints a hexdump of the given bytes to stdout.
  • Creates a hexdump iterator that yields the individual lines.
  • Sanitizes a byte for safe output.