Searched refs:b16encode (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 426 eq(base64.b16encode(b'\x01\x02\xab\xcd\xef'), b'0102ABCDEF') 427 eq(base64.b16encode(b'\x00'), b'00') 429 self.check_other_types(base64.b16encode, b'\x01\x02\xab\xcd\xef', 431 self.check_encode_type_errors(base64.b16encode) 722 b16encode = base64.b16encode 748 self.assertEqual(b16encode(b""), b"") 749 self.assertEqual(b16encode(b"f"), b"66") 750 self.assertEqual(b16encode(b"fo"), b"666F") 751 self.assertEqual(b16encode(b"foo"), b"666F6F") 752 self.assertEqual(b16encode(b"foob"), b"666F6F62") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 215 eq(base64.b16encode('\x01\x02\xab\xcd\xef'), '0102ABCDEF') 216 eq(base64.b16encode('\x00'), '00') 218 eq(base64.b16encode(bytearray('\x01\x02\xab\xcd\xef')), '0102ABCDEF')
|
/external/python/cpython2/Lib/ |
D | base64.py | 258 def b16encode(s): function
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 105 .. function:: b16encode(s)
|
/external/pdfium/testing/tools/ |
D | encode_pdf_filter.py | 229 super().write(base64.b16encode(data))
|
/external/python/cpython3/Lib/ |
D | base64.py | 271 def b16encode(s): function
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 160 .. function:: b16encode(s)
|