Function hdk::prelude::fmt_many_bytes

pub fn fmt_many_bytes(
    name: &str,
    f: &mut Formatter<'_>,
    bytes: &[u8]
) -> Result<(), Error>
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.