func ToBase10(str string) int {
	res := 0
	for _, r := range str {
		res = (b * res) + strings.Index(base, string(r))
	}
	return res
}
// ToBase10 decodes a given base62 string to datbase ID
ToBase10 decodes a given base62 string to datbase ID
// ToBase10 decodes a given base62 string to datbase ID
func ToBase10(str string) int {
	res := 0
	for _, r := range str {
		res = (b * res) + strings.Index(base, string(r))
	}
	return res
}
func ToBase10 ( str string ) int { res := 0 for _ , r := range str { res = ( b * res ) + strings . Index ( base , string ( r ) ) } return res }
ToBase10 decodes a given base62 string to datbase ID
ToBase10 decodes a given base62 string to datbase ID