(string)
Decode a raw base64 string, returning a bytes object.

    This function does not parse a full MIME header value encoded with
    base64 (like =?iso-8859-1?b?bmloISBuaWgh?=) -- please use the high
    level email.header class for that functionality.
Decode a raw base64 string, returning a bytes object.
Decode a raw base64 string returning a bytes object .
def decode(string):
    """Decode a raw base64 string, returning a bytes object.

    This function does not parse a full MIME header value encoded with
    base64 (like =?iso-8859-1?b?bmloISBuaWgh?=) -- please use the high
    level email.header class for that functionality.
    """
    if not string:
        return bytes()
    elif isinstance(string, str):
        return a2b_base64(string.encode('raw-unicode-escape'))
    else:
        return a2b_base64(string)
def decode ( string ) : if not string : return bytes ( ) elif isinstance ( string , str ) : return a2b_base64 ( string . encode ( 'raw-unicode-escape' ) ) else : return a2b_base64 ( string )