Function kitsune_p2p_bin_data::fmt_many_bytes
source · pub fn fmt_many_bytes(name: &str, f: &mut Formatter<'_>, bytes: &[u8]) -> Result
Expand description
Helpful pattern for debug formatting many bytes. If the size is > 32 bytes, only the first 8 and last 8 bytes will be displayed.