Lines Matching refs:b32decode
298 eq(base64.b32decode(data), res)
299 eq(base64.b32decode(data.decode('ascii')), res)
301 self.check_other_types(base64.b32decode, b'MFRGG===', b"abc")
302 self.check_decode_type_errors(base64.b32decode)
321 eq(base64.b32decode(data, True), res)
322 eq(base64.b32decode(data.decode('ascii'), True), res)
324 self.assertRaises(binascii.Error, base64.b32decode, b'me======')
325 self.assertRaises(binascii.Error, base64.b32decode, 'me======')
328 eq(base64.b32decode(b'MLO23456'), b'b\xdd\xad\xf3\xbe')
329 eq(base64.b32decode('MLO23456'), b'b\xdd\xad\xf3\xbe')
338 eq(base64.b32decode(data, map01=map01), res)
339 eq(base64.b32decode(data_str, map01=map01), res)
340 eq(base64.b32decode(data, map01=map01_str), res)
341 eq(base64.b32decode(data_str, map01=map01_str), res)
342 self.assertRaises(binascii.Error, base64.b32decode, data)
343 self.assertRaises(binascii.Error, base64.b32decode, data_str)
357 base64.b32decode(data)
359 base64.b32decode(data.decode('ascii'))
644 base64.b32decode,