pub fn to_hex_upper(bytes: &[u8]) -> String
Render bytes as uppercase hex, two characters per byte, no separator.
bytes
use safe_decode::to_hex_upper; assert_eq!(to_hex_upper(&[0x00, 0xde, 0xad]), "00DEAD");