Skip to main content

format_hex_dump

Function format_hex_dump 

Source
pub fn format_hex_dump(data: &[u8]) -> Vec<String>
Expand description

Format raw bytes as hex dump lines. Returns a Vec of formatted lines. Each line contains up to 16 bytes, with a space separator after the 8th byte. If the data exceeds MAX_HEX_BYTES, the dump is truncated and ends with ....