Skip to main content

param_parse

Function param_parse 

Source
pub(crate) fn param_parse(ty: &str, size: usize, text: &str) -> Option<u64>
Expand description

The value text gives a tunable of type ty and size bytes: true or false for a bool, and otherwise an integer, decimal or 0x hexadecimal, in the range of the type. None if it is not one.