Function bitcoin_hashes::hex::format_hex

source ·
pub fn format_hex<T: Write>(data: &[u8], fmt: T) -> Result
Expand description

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