hex_pp 0.1.2

Pretty hex dump of bytes slice in the common style.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use hex_pp::*;


fn main() {
    let msg_2 = String::from("Hello, World!\nThis is a long ass message!\nWow!!");
    let hex_conf = HexConfig {
        title: true,
        ascii: true,
        width: 16,
        group: 4,
        chunk: 1,
        display_offset: 0,
        ..HexConfig::default()
    };

    println!("{:?}", msg_2.hex_conf(hex_conf));
}