breez_sdk_liquid::bitcoin::util::key::secp256k1::hashes::hex

Function format_hex

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

Outputs hex into an object implementing fmt::Write.

This is usually more efficient than going through a String using ToHex.