Function fuel_types::fmt_truncated_hex
source · pub fn fmt_truncated_hex<const N: usize>(
data: &Vec<u8>,
f: &mut Formatter<'_>
) -> Result
Expand description
Formatting utility to truncate a vector of bytes to a hex string of max length N