encode_upper

Function encode_upper 

Source
pub fn encode_upper<T, V>(v: &T, out: impl FnOnce(&str) -> V) -> V
where T: ?Sized + AsRef<[u8]>,
Expand description

Encodes a sequence of bytes to a uppercase hex string.

The resulting string is passed to the closure.