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.py298 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')
[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/Misc/NEWS.d/
D3.7.1rc1.rst676 :func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2366 * :func:`base64.b32decode` now raises a :exc:`binascii.Error` when the
/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).