Searched refs:b16decode (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 222 eq(base64.b16decode('0102ABCDEF'), '\x01\x02\xab\xcd\xef') 223 eq(base64.b16decode('00'), '\x00') 225 self.assertRaises(TypeError, base64.b16decode, '0102abcdef') 227 eq(base64.b16decode('0102abcdef', True), '\x01\x02\xab\xcd\xef') 229 eq(base64.b16decode(bytearray("0102ABCDEF")), '\x01\x02\xab\xcd\xef') 231 self.assertRaises(TypeError, base64.b16decode, '0102AG') 233 self.assertRaises(TypeError, base64.b16decode, '010')
|
D | audiotests.py | 17 return base64.b16decode(s.replace(' ', ''))
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 372 eq(base64.b16decode(b'0102ABCDEF'), b'\x01\x02\xab\xcd\xef') 373 eq(base64.b16decode('0102ABCDEF'), b'\x01\x02\xab\xcd\xef') 374 eq(base64.b16decode(b'00'), b'\x00') 375 eq(base64.b16decode('00'), b'\x00') 377 self.assertRaises(binascii.Error, base64.b16decode, b'0102abcdef') 378 self.assertRaises(binascii.Error, base64.b16decode, '0102abcdef') 380 eq(base64.b16decode(b'0102abcdef', True), b'\x01\x02\xab\xcd\xef') 381 eq(base64.b16decode('0102abcdef', True), b'\x01\x02\xab\xcd\xef') 383 self.check_other_types(base64.b16decode, b"0102ABCDEF", 385 self.check_decode_type_errors(base64.b16decode) [all …]
|
/external/python/cpython2/Lib/ |
D | base64.py | 266 def b16decode(s, casefold=False): function
|
/external/python/cpython3/Lib/ |
D | base64.py | 253 def b16decode(s, casefold=False): function
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 112 .. function:: b16decode(s[, casefold])
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 145 .. function:: b16decode(s, casefold=False)
|