Searched refs:encodebytes (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/encodings/ |
D | base64_codec.py | 15 return (base64.encodebytes(input), len(input)) 30 return base64.encodebytes(input)
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 31 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n") 32 eq(base64.encodebytes(b"a"), b"YQ==\n") 33 eq(base64.encodebytes(b"ab"), b"YWI=\n") 34 eq(base64.encodebytes(b"abc"), b"YWJj\n") 35 eq(base64.encodebytes(b""), b"") 36 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz" 43 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n') 44 eq(base64.encodebytes(memoryview(b'abc')), b'YWJj\n') 45 eq(base64.encodebytes(array('B', b'abc')), b'YWJj\n') 46 self.check_type_errors(base64.encodebytes)
|
D | test_xmlrpc.py | 568 de = base64.encodebytes(d)
|
D | test_urllib2.py | 1594 base64.encodebytes(userpass).strip().decode())
|
/external/python/cpython3/Lib/email/ |
D | encoders.py | 15 from base64 import encodebytes as _bencode
|
/external/python/cpython3/Lib/ |
D | base64.py | 524 def encodebytes(s): function 540 return encodebytes(s) 587 s1 = encodebytes(s0)
|
/external/scapy/scapy/ |
D | compat.py | 135 return base64.encodebytes(raw(x)).replace(b'\n', b'')
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 412 encoded = base64.encodebytes(self.data) 563 encoded = base64.encodebytes(value) 1221 auth = base64.encodebytes(auth).decode("utf-8")
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 255 .. function:: encodebytes(s) 266 Deprecated alias of :func:`encodebytes`.
|
D | codecs.rst | 1345 …64_codec [#b64]_ | base64, base_64 | Convert operand to multiline | :meth:`base64.encodebytes` / |
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3824 - Issue #17839: base64.decodebytes and base64.encodebytes now accept any
|