[][src]Function zeros::bytes_to_hex

pub fn bytes_to_hex(bytes: &[u8]) -> String

Formats a byte slice as a hexadecimal string, in lower-case

Examples

assert_eq!(zeros::bytes_to_hex(&[202, 254]), "cafe");