pub fn flip_bytes_in_str(hex_str: &String) -> String {
    let mut inp: Vec<u8> = hex_str.from_hex().unwrap();
    inp.reverse();
    inp.to_hex()
}
// Convenience function to go from little to big endian for a even length hex string.
Convenience function to go from little to big endian for a even length hex string.
Convenience function to go from little to big endian for a even length hex string .
pub fn flip_bytes_in_str(hex_str: &String) -> String {
    let mut inp: Vec<u8> = hex_str.from_hex().unwrap();
    inp.reverse();
    inp.to_hex()
}
pub fn flip_bytes_in_str ( hex_str : & String ) -> String { let mut inp : Vec < u8 > = hex_str . from_hex ( ) . unwrap ( ) ; inp . reverse ( ) ; inp . to_hex ( ) }
Convenience function to go from little to big endian for a even length hex string.
Convenience function to go from little to big endian for a even length hex string .
hex_str
&String
hex_str
&String