def b85encode(data):
    '\n    Encode binary data to ascii text in base85. Data must be bytes.\n    '
    if PY2:
        raise NotImplementedError("Python 2 can't encode data in base85.")
    return base64.b85encode(data).decode('ascii')
Encode binary data to ascii text in base85. Data must be bytes.
def b85encode(data):
    '\n    \n    '
    if PY2:
        raise NotImplementedError("Python 2 can't encode data in base85.")
    return base64.b85encode(data).decode('ascii')