Skip to main content

hex_view

Function hex_view 

Source
pub fn hex_view(s: &str) -> String
Expand description

Create a hex editor-friendly view

Shows offset, hex values, and ASCII representation.

ยงExample

use dodecet_encoder::hex;

let view = hex::hex_view("123456789ABCDEF");
// Output includes offset, hex, and ASCII