Parses a decimal, hexadecimal or binary integer from a given string.
- Parameters
-
pString | String to parse. |
bDetectBase | Detect the numeric base of the string via prefixes '0x' or '$' for hex, or 'b' for binary. |
base | If bDetectBase is false, specifies the numeric base to use. Accepted values are 10, 16 and 2. |
ppNextChar | Optional pointer that receives the following character in the string. |
- Returns
- The integer parsed from the string.