import base64


def decode(data: str) -> bytes:
    """Decode a base64 str to bytes

    Args:
        data (str): base64 encoded str

    Returns:
        bytes: decoded bytes
    """
    return base64.b64decode(data.encode('utf-8'))