Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_base64.py417 eq(base64.a85encode(data), res, data)
418 eq(base64.a85encode(data, adobe=False), res, data)
419 eq(base64.a85encode(data, adobe=True), b'<~' + res + b'~>', data)
421 self.check_other_types(base64.a85encode, b"www.python.org",
424 self.assertRaises(TypeError, base64.a85encode, "")
426 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=False),
428 eq(base64.a85encode(b"\0\0\0\0www.python.org", wrapcol=7, adobe=False),
430 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=True),
433 eq(base64.a85encode(b' '*8, foldspaces=True, adobe=False), b'yy')
434 eq(base64.a85encode(b' '*7, foldspaces=True, adobe=False), b'y+<Vd')
[all …]
/external/python/cpython3/Lib/
Dbase64.py310 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`,