Searched refs:b16encode (Results 1 – 8 of 8) sorted by relevance
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')
356 eq(base64.b16encode(b'\x01\x02\xab\xcd\xef'), b'0102ABCDEF')357 eq(base64.b16encode(b'\x00'), b'00')359 self.check_other_types(base64.b16encode, b'\x01\x02\xab\xcd\xef',361 self.check_encode_type_errors(base64.b16encode)
258 def b16encode(s): function
147 super().write(base64.b16encode(data))
247 def b16encode(s): function
105 .. function:: b16encode(s)
139 .. function:: b16encode(s)
4 from base64 import b16encode1261 b16encode(ch).upper()