[][src]Function lnpbp::hex::format_hex

pub fn format_hex(data: &[u8], f: &mut Formatter<'_>) -> Result<(), Error>

Output hex into an object implementing fmt::Write, which is usually more efficient than going through a String using ToHex.