pretty_hex
pub fn hex_write<T, W>(writer: &mut W, source: &T, cfg: HexConfig) -> Result where T: AsRef<[u8]>, W: Write,
Write hex dump in specified format.