Searched refs:decodebytes (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython3/Lib/encodings/ |
D | base64_codec.py | 19 return (base64.decodebytes(input), len(input)) 35 return base64.decodebytes(input)
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 42 eq(base64.decodebytes(b"d3d3LnB5dGhvbi5vcmc=\n"), b"www.python.org") 43 eq(base64.decodebytes(b"YQ==\n"), b"a") 44 eq(base64.decodebytes(b"YWI=\n"), b"ab") 45 eq(base64.decodebytes(b"YWJj\n"), b"abc") 46 eq(base64.decodebytes(b"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE" 52 eq(base64.decodebytes(b''), b'') 54 eq(base64.decodebytes(bytearray(b'YWJj\n')), b'abc') 55 eq(base64.decodebytes(memoryview(b'YWJj\n')), b'abc') 56 eq(base64.decodebytes(array('B', b'YWJj\n')), b'abc') 57 self.check_type_errors(base64.decodebytes)
|
D | test_gettext.py | 123 fp.write(base64.decodebytes(GNU_MO_DATA)) 125 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MAJOR_VERSION)) 127 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MINOR_VERSION)) 129 fp.write(base64.decodebytes(UMO_DATA)) 131 fp.write(base64.decodebytes(MMO_DATA)) 681 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898)) 694 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
|
D | test_smtplib.py | 815 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
|
/external/scapy/scapy/ |
D | compat.py | 129 return base64.decodebytes(raw(x))
|
/external/python/cpython3/Lib/ |
D | base64.py | 535 def decodebytes(s): function 573 s2 = decodebytes(s1)
|
D | smtplib.py | 640 challenge = base64.decodebytes(resp)
|
D | ssl.py | 1467 return base64.decodebytes(d.encode('ASCII', 'strict'))
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 414 self.data = base64.decodebytes(data) 908 mkbytes = base64.decodebytes
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 231 .. function:: decodebytes(s)
|
D | codecs.rst | 1339 … | | multiline MIME base64 (the | :meth:`base64.decodebytes` |
|
/external/python/cpython3/Lib/http/ |
D | server.py | 1107 authorization = base64.decodebytes(authorization).\
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1655 data = base64.decodebytes(data) 2121 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a3.rst | 375 :func:`base64.decodebytes` instead.
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 1526 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')), 1566 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.9.rst | 997 :func:`base64.decodebytes` instead.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any
|