Turns a string in a given base into a bigint by multiplying each digit by the base raised to the power of its position in the string.
string
base
bigint
Turns a
stringin a givenbaseinto abigintby multiplying each digit by thebaseraised to the power of its position in thestring.