(x, islong=False)
return rems
Encodes the given integer using base 85.
Encodes the given integer using base 85.
Encodes the given integer using base 85 .
def to_base85(x, islong=False):
    "Encodes the given integer using base 85."

    size = 10 if islong else 5
    rems = ""
    for i in xrange(size):
        rems = b85chars[x % 85] + rems
        x //= 85
    return rems
def to_base85 ( x , islong = False ) : size = 10 if islong else 5 rems = "" for i in xrange ( size ) : rems = b85chars [ x % 85 ] + rems x //= 85 return rems