print_hex

Function print_hex 

Source
fn print_hex(packet: &[u8], map: &[Option<Field>], color: bool)
Expand description

Render the hex dump, grouped by field.

Colorized output needs no separators — the color change marks each field boundary — so the bytes run together and stay compact. Without color the same grouping is spelled with spaces between fields.