pub fn hexdump_to_sink(bytes: &[u8], sink: &mut dyn LogSink, columns: usize)Expand description
Writes a classic hex dump to a LogSink.
Each line is formatted as:
0x00000000: 01 02 03 ... |....|bytes: input data to render.sink: output destination.columns: number of bytes per line. If0, defaults to16.
This function is best-effort: it ignores formatting errors because the underlying sink is infallible by contract.