Lines Matching refs:b32decode
291 eq(base64.b32decode(data), res)
292 eq(base64.b32decode(data.decode('ascii')), res)
294 self.check_other_types(base64.b32decode, b'MFRGG===', b"abc")
295 self.check_decode_type_errors(base64.b32decode)
314 eq(base64.b32decode(data, True), res)
315 eq(base64.b32decode(data.decode('ascii'), True), res)
317 self.assertRaises(binascii.Error, base64.b32decode, b'me======')
318 self.assertRaises(binascii.Error, base64.b32decode, 'me======')
321 eq(base64.b32decode(b'MLO23456'), b'b\xdd\xad\xf3\xbe')
322 eq(base64.b32decode('MLO23456'), b'b\xdd\xad\xf3\xbe')
331 eq(base64.b32decode(data, map01=map01), res)
332 eq(base64.b32decode(data_str, map01=map01), res)
333 eq(base64.b32decode(data, map01=map01_str), res)
334 eq(base64.b32decode(data_str, map01=map01_str), res)
335 self.assertRaises(binascii.Error, base64.b32decode, data)
336 self.assertRaises(binascii.Error, base64.b32decode, data_str)
350 base64.b32decode(data)
352 base64.b32decode(data.decode('ascii'))
637 base64.b32decode,