parseHexUlong

fnulong parseHexUlong(string hexStr)

Parse a hexadecimal string to an unsigned long.

Parameters

hexStrHexadecimal string, optionally starting with "0x".

Returns

The parsed unsigned long value.

Throws

Exception if the string cannot be parsed.