hsmtool::util::helper

Function parse_range

Source
pub fn parse_range(s: &str) -> Result<Range<usize>>
Expand description

Parse a range from a string (e.g. “10..20”). The integers in the range may be expressed in either decimal or hexadecimal.