Function basedToBigInt

  • 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.

    Parameters

    • based: string
    • base: bigint
    • space: string = base64Space

    Returns bigint