ot::Utils::CmdLineParser::ParseAsIp6Prefix() function
Parses a string as an IPv6 prefix. The string is parsed as `{IPv6Address}/{PrefixLength}`.
Arguments
aString
The string to parse.
aPrefix
A reference to an `otIp6Prefix` to output the parsed IPv6 prefix.
Return value
kErrorNone The string was parsed successfully. kErrorInvalidArgs The string does not contain a valid IPv6 prefix.