pub fn dump(data: &[u8], base: u64, max: usize, pal: Palette) -> StringExpand description
Hexdump data, labelling each row with its absolute offset (base is the
file offset of data[0]). At most max bytes are shown; the remainder is
summarised. Returns the formatted block (no trailing newline).