Home
last modified time | relevance | path

Searched refs:decodebytes (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/encodings/
Dbase64_codec.py19 return (base64.decodebytes(input), len(input))
35 return base64.decodebytes(input)
/external/python/cpython3/Lib/test/
Dtest_base64.py44 eq(base64.decodebytes(b"d3d3LnB5dGhvbi5vcmc=\n"), b"www.python.org")
45 eq(base64.decodebytes(b"YQ==\n"), b"a")
46 eq(base64.decodebytes(b"YWI=\n"), b"ab")
47 eq(base64.decodebytes(b"YWJj\n"), b"abc")
48 eq(base64.decodebytes(b"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
54 eq(base64.decodebytes(b''), b'')
55 eq(base64.decodebytes(b"QWxhZGRpbjpvcGVuIHNlc2FtZQ==\n"),
58 eq(base64.decodebytes(bytearray(b'YWJj\n')), b'abc')
59 eq(base64.decodebytes(memoryview(b'YWJj\n')), b'abc')
60 eq(base64.decodebytes(array('B', b'YWJj\n')), b'abc')
[all …]
Dtest_gettext.py132 fp.write(base64.decodebytes(GNU_MO_DATA))
134 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MAJOR_VERSION))
136 fp.write(base64.decodebytes(GNU_MO_DATA_BAD_MINOR_VERSION))
138 fp.write(base64.decodebytes(UMO_DATA))
140 fp.write(base64.decodebytes(MMO_DATA))
609 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
622 fp.write(base64.decodebytes(GNU_MO_DATA_ISSUE_17898))
Dtest_smtplib.py886 return base64.decodebytes(string.encode('ascii')).decode('utf-8')
/external/scapy/scapy/
Dcompat.py186 return base64.decodebytes(bytes_encode(x))
/external/python/pyyaml/lib/yaml/
Dconstructor.py303 return base64.decodebytes(value)
509 return base64.decodebytes(value)
/external/python/cpython3/Lib/xmlrpc/
Dclient.py394 self.data = base64.decodebytes(data)
888 mkbytes = base64.decodebytes
/external/python/cpython3/Lib/
Dbase64.py576 def decodebytes(s): function
Dsmtplib.py650 challenge = base64.decodebytes(resp)
Dssl.py1504 return base64.decodebytes(d.encode('ASCII', 'strict'))
/external/python/cpython3/Doc/library/
Dbase64.rst275 .. function:: decodebytes(s)
Dcodecs.rst1402 … | | multiline MIME base64 (the | :meth:`base64.decodebytes` |
/external/python/cpython3/Lib/http/
Dserver.py1131 authorization = base64.decodebytes(authorization).\
/external/python/cpython3/Lib/urllib/
Drequest.py1636 data = base64.decodebytes(data)
2122 data = base64.decodebytes(data.encode('ascii')).decode('latin-1')
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a3.rst375 :func:`base64.decodebytes` instead.
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py1554 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
1615 self.assertEqual(base64.decodebytes(bytes(payload, 'ascii')),
/external/python/cpython3/Doc/whatsnew/
D3.9.rst1017 :func:`base64.decodebytes` instead.
/external/python/cpython3/Misc/
DHISTORY3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any