foundry_debugger::tui::draw

Function hex_bytes_spans

Source
fn hex_bytes_spans(
    bytes: &[u8],
    spans: &mut Vec<Span<'_>>,
    f: impl Fn(usize, u8) -> Style,
)