Converts a string to an int64 type value.
If the value is outside the range of representable values, If the value is positive, this function will return INT64_MAX. If the value is negative, this function will return INT64_MIN.
native int64 StringToI64(const char[] str, int nBase = 10, int& nConsumed = 0)