1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//! Easy hexdump to stdout or as an iterator.
//!
//! # Example
//!
//! ```
//! extern crate hexdump;
//! hexdump::hexdump(b"12345\0\r\n\t .abcdef");
//! ```
//! prints
//!
//! ```text
//! |31323334 35000d0a 09202e61 62636465| 12345.... .abcde 00000000
//! |66|                                  f                00000010
//!                                                        00000011
//! ```

#![warn(missing_docs)]

#[cfg(test)] #[macro_use] extern crate quickcheck;

extern crate arrayvec;

mod imp;

pub use imp::Line;
pub use imp::Hexdump;
pub use imp::hexdump;
pub use imp::hexdump_iter;
pub use imp::sanitize_byte;