Crate hexdump[][src]

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

Hexdump

Return type of hexdump_iter.

Line

A single line of hexdump output.

Functions

hexdump

Prints a hexdump of the given bytes to stdout.

hexdump_iter

Creates a hexdump iterator that yields the individual lines.

sanitize_byte

Sanitizes a byte for safe output.