PyDocs

Nav

Internet Data Handling

b16decode

base64

function (source)
  • b16decode(s, casefold=False, *, ignorechars=b'')
Decode the Base16 encoded bytes-like object or ASCII string s.

Optional casefold is a flag specifying whether a lowercase alphabet is
acceptable as input.  For security purposes, the default is False.

ignorechars should be a byte string containing characters to ignore
from the input.

The result is returned as a bytes object.  A binascii.Error is raised if
s is incorrectly padded or if there are non-alphabet characters present
in the input.
Changed in 3.15
  • 3.15: Added the ignorechars parameter.
0 Examples
No examples for base64/b16decode.
See Also
No see-alsos for base64/b16decode
0 Notes
No notes for b16decode