ot::Utils::CmdLineParser::Arg::ParseAsUint8() const method
Parses the argument as a `uint8_t` value. The number is parsed as decimal or hex format (if contains `0x` or `0X` prefix).
Arguments
aUint8
A reference to an `uint8_t` variable to output the parsed value.
Return value
kErrorNone The argument was parsed successfully. kErrorInvalidArgs The argument is empty or does not contain valid number (e.g., value out of range).