Home
last modified time | relevance | path

Searched refs:b32decode (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_base64.py178 eq(base64.b32decode(''), '')
179 eq(base64.b32decode('AA======'), '\x00')
180 eq(base64.b32decode('ME======'), 'a')
181 eq(base64.b32decode('MFRA===='), 'ab')
182 eq(base64.b32decode('MFRGG==='), 'abc')
183 eq(base64.b32decode('MFRGGZA='), 'abcd')
184 eq(base64.b32decode('MFRGGZDF'), 'abcde')
186 self.assertRaises(TypeError, base64.b32decode, bytearray('MFRGG==='))
190 eq(base64.b32decode('', True), '')
191 eq(base64.b32decode('ME======', True), 'a')
[all …]
/external/python/cpython3/Lib/test/
Dtest_base64.py291 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')
[all …]
/external/python/cpython2/Lib/
Dbase64.py184 def b32decode(s, casefold=False, map01=None): function
/external/python/cpython3/Lib/
Dbase64.py180 def b32decode(s, casefold=False, map01=None): function
/external/python/cpython2/Doc/library/
Dbase64.rst85 .. function:: b32decode(s[, casefold[, map01]])
/external/python/cpython3/Doc/library/
Dbase64.rst118 .. function:: b32decode(s, casefold=False, map01=None)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2366 * :func:`base64.b32decode` now raises a :exc:`binascii.Error` when the
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst3840 :func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
/external/python/cpython3/Misc/
DHISTORY4932 - Issue #18011: As was originally intended, base64.b32decode() now raises a
4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).