Home
last modified time | relevance | path

Searched refs:b16encode (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_base64.py426 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/
Dtest_base64.py215 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/
Dbase64.py258 def b16encode(s): function
/external/python/cpython2/Doc/library/
Dbase64.rst105 .. function:: b16encode(s)
/external/pdfium/testing/tools/
Dencode_pdf_filter.py229 super().write(base64.b16encode(data))
/external/python/cpython3/Lib/
Dbase64.py271 def b16encode(s): function
/external/python/cpython3/Doc/library/
Dbase64.rst160 .. function:: b16encode(s)