colored-hexdump 0.1.0

Make colored hexdumps
Documentation

Colored-Hexdump

Create beautifuly colored hexdump in Rust.

Hexdump

colored_hexdump::hexdump()

Use colored_hexdump::hexdump() to create an hexdump with borders.

let all_bytes: Vec<u8> = (0..=u8::MAX).collect();
let hex_colors = hexdump(&all_bytes);
println!("{}", hex_colors);

xxd

You can also go with a more classic xxd style with

colored_hexdump::xxr()

colored_hexdump::xxr()

let all_bytes: Vec<u8> = (0..=u8::MAX).collect();
let hex_colors = xxd(&all_bytes);
println!("{}", hex_colors);