Searched refs:b32decode (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_base64.py | 178 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/ |
D | test_base64.py | 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') [all …]
|
/external/python/cpython2/Lib/ |
D | base64.py | 184 def b32decode(s, casefold=False, map01=None): function
|
/external/python/cpython3/Lib/ |
D | base64.py | 180 def b32decode(s, casefold=False, map01=None): function
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 85 .. function:: b32decode(s[, casefold[, map01]])
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 118 .. function:: b32decode(s, casefold=False, map01=None)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.1rc1.rst | 676 :func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2366 * :func:`base64.b32decode` now raises a :exc:`binascii.Error` when the
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4932 - Issue #18011: As was originally intended, base64.b32decode() now raises a 4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).
|