Home
last modified time | relevance | path

Searched refs:a85encode (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_base64.py426 eq(base64.a85encode(data), res, data)
427 eq(base64.a85encode(data, adobe=False), res, data)
428 eq(base64.a85encode(data, adobe=True), b'<~' + res + b'~>', data)
430 self.check_other_types(base64.a85encode, b"www.python.org",
433 self.assertRaises(TypeError, base64.a85encode, "")
435 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=False),
437 eq(base64.a85encode(b"\0\0\0\0www.python.org", wrapcol=7, adobe=False),
439 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=True),
442 eq(base64.a85encode(b' '*8, foldspaces=True, adobe=False), b'yy')
443 eq(base64.a85encode(b' '*7, foldspaces=True, adobe=False), b'y+<Vd')
[all …]
/external/python/cpython3/Lib/
Dbase64.py303 def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False): function
/external/python/cpython3/Doc/library/
Dbase64.rst159 .. function:: a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst652 New functions :func:`~base64.a85encode`, :func:`~base64.a85decode`,