fuel_types

Function fmt_option_truncated_hex

source
pub fn fmt_option_truncated_hex<const N: usize>(
    data: &Option<Vec<u8>>,
    f: &mut Formatter<'_>,
) -> Result
Expand description

Formatting utility to truncate a optional vector of bytes to a hex string of max length N