def encoded_length(self, num_bytes=16):
        factor = math.log(256) / math.log(self._alpha_len)
        return int(math.ceil(factor * num_bytes))


# For backwards compatibility
Returns the string length of the shortened UUID.
dataset/ETHPy150Open stochastic-technologies/shortuuid/shortuuid/main.py/ShortUUID.encoded_length