fn hex_integer<'a, E>(input: &'a str) -> IResult<&'a str, u64, E>
where
    E: NomParseError<&'a str>,
{
    map_res(preceded(tag("0x"), hex_digit1), |s: &str| u64::from_str_radix(&s, 16))(input)
}
/// Parses a hexadecimal number as 64 bit integer.
Parses a hexadecimal number as 64 bit integer.
Parses a hexadecimal number as 64 bit integer .
fn hex_integer<'a, E>(input: &'a str) -> IResult<&'a str, u64, E>
where
    E: NomParseError<&'a str>,
{
    map_res(preceded(tag("0x"), hex_digit1), |s: &str| u64::from_str_radix(&s, 16))(input)
}
fn hex_integer < ' a , E > ( input : & ' a str ) -> IResult < & ' a str , u64 , E > where E : NomParseError < & ' a str > , { map_res ( preceded ( tag ( " " ) , hex_digit1 ) , | s : & str | u64 :: from_str_radix ( & s , 16 ) ) ( input ) }
Parses a hexadecimal number as 64 bit integer.
Parses a hexadecimal number as 64 bit integer .
input
&'a str
input
&'a str