Skip to main content

to_hex_lower

Function to_hex_lower 

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

Render bytes as lowercase hex, two characters per byte, no separator.

use safe_decode::to_hex_lower;
assert_eq!(to_hex_lower(&[0x00, 0xde, 0xad]), "00dead");