def decode_bytes(string):
if is_string_type(type(string)):<EOL><INDENT>string = bytes(string, "<STR_LIT:utf-8>")<EOL><DEDENT>return base64.decodebytes(string)<EOL>
Decodes a given base64 string into bytes.

    :param str string: The string to decode
    :return: The decoded bytes
    :rtype: bytes