Skip to main content

hex_dump

Function hex_dump 

Source
pub fn hex_dump(data: &[u8], max_bytes: usize) -> String
Expand description

Format a byte slice as a hex dump suitable for debug logging.