base36_to_int
Convert a base 36 string to an int. Raise ValueError if the input won't fit into an int.
def base36_to_int(
s: string
) - > int
Convert a base 36 string to an int. Raise ValueError if the input won't fit into an int.
Parameters
| Name | Type | Description |
|---|---|---|
| s | string | The base 36 encoded string to be converted, limited to a maximum of 13 characters to ensure it fits within a 64-bit integer range |
Returns
| Type | Description |
|---|---|
int | The integer representation of the base 36 encoded string |