Home
last modified time | relevance | path

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

/third_party/python/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 …]
/third_party/python/Lib/
Dbase64.py252 def b32decode(s, casefold=False, map01=None): function
254 b32decode.__doc__ = _B32_DECODE_DOCSTRING.format(encoding='base32',
/third_party/python/Doc/library/
Dbase64.rst118 .. function:: b32decode(s, casefold=False, map01=None)
149 Similar to :func:`b32decode` but uses the Extended Hex Alphabet, as defined in
/third_party/python/Doc/whatsnew/
D3.4.rst2366 * :func:`base64.b32decode` now raises a :exc:`binascii.Error` when the
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst3840 :func:`base64.b32decode` could raise UnboundLocalError or OverflowError for
/third_party/python/Misc/
DHISTORY4932 - Issue #18011: As was originally intended, base64.b32decode() now raises a
4957 Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).