def METHOD_NAME(name, data):
    """Render raw atom data."""
    # this raises OverflowError if Py_ssize_t can't handle the atom data
    size = len(data) + 8
    if size <= 0xFFFFFFFF:
        return struct.pack(">I4s", size, name) + data
    else:
        return struct.pack(">I4sQ", 1, name, size + 8) + data