[][src]Function bitcoin_hashes::hex::format_hex

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

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