iroh_test::hexdump

Function print_hexdump

Source
pub fn print_hexdump(
    bytes: impl AsRef<[u8]>,
    line_lengths: impl AsRef<[usize]>,
) -> String
Expand description

Returns a hexdump of the given bytes in multiple lines as a String.