Try to parse a 16bit unsigned value, both decimal or hexadecimal (0x) format: if successfully, current parsing position is moved after the parsed value.
Syntax |
parseU16(string @err, ushort @value): bool |
---|---|
err |
Reference to error string (if any) |
value |
Reference to destination value |
Result |
Return true if valid value parsed, false otherwise |