Lines Matching refs:b64decode
107 eq(base64.b64decode("d3d3LnB5dGhvbi5vcmc="), "www.python.org")
108 eq(base64.b64decode('AA=='), '\x00')
109 eq(base64.b64decode("YQ=="), "a")
110 eq(base64.b64decode("YWI="), "ab")
111 eq(base64.b64decode("YWJj"), "abc")
112 eq(base64.b64decode("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
118 eq(base64.b64decode(''), '')
120 eq(base64.b64decode('01a*b$cd', altchars='*$'), '\xd3V\xbeo\xf7\x1d')
122 eq(base64.b64decode(bytearray("YWJj")), "abc")
143 self.assertRaises(TypeError, base64.b64decode, 'abc')