pub fn to_hex_string(bytes: &[u8]) -> String {
    let mut hex_string = String::new();
    for item in bytes {
        // Zero pad any single digit hex values
        hex_string += &format!("{:0>2x}", item);
    }
    hex_string
}
/// Converts a u8 byte array to a string of hex bytes
///
/// Single digits are zero padded
Converts a u8 byte array to a string of hex bytes
Single digits are zero padded
Converts a u8 byte array to a string of hex bytes Single digits are zero padded
pub fn to_hex_string(bytes: &[u8]) -> String {
    let mut hex_string = String::new();
    for item in bytes {
        // Zero pad any single digit hex values
        hex_string += &format!("{:0>2x}", item);
    }
    hex_string
}
pub fn to_hex_string ( bytes : & [ u8 ] ) -> String { let mut hex_string = String :: new ( ) ; for item in bytes { // Zero pad any single digit hex values hex_string += & format ! ( " " item ) ; } hex_string }
Converts a u8 byte array to a string of hex bytes
Single digits are zero padded
Converts a u8 byte array to a string of hex bytes Single digits are zero padded
bytes
&[u8]
bytes
&[u8]