pub fn encode_hex(bytes: &[u8]) -> String
Expand description

Encodes a byte array into a hex-encoded string.

Panics

Panics if the call to write! returns an error.