Skip to main content

parse_hex

Function parse_hex 

Source
pub(crate) fn parse_hex(s: &str) -> Result<u64, String>
Expand description

Parse hexadecimal value from command line (requires “0x” prefix, e.g., “0x2”)