Parse a positive integer from a string.
Parse a positive integer from a string. Our custom code because it is faster as per our benchmarks over java.lang.Integer.parseInt() which .toInt also uses.
string
beginning offset into the string
ending offset into the string. Must be >= beg
integer representation of s