//! Easy hexdump to stdout or as an iterator.
//!
//! # Example
//!
//! ```
//! 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;

mod imp;

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