def wrapped(view):
    new_view = self._view_type()
    file_view = transformer(view)
    if (transformer is not identity_transformer):
        self.set_user_owned(file_view, False)
    new_view.file.write_data(file_view, self._wrapped_view_type)
    return new_view
def wrapped(view):
    new_view = self._view_type()
    file_view = transformer(view)
    if (transformer is not identity_transformer):
        self.set_user_owned(file_view, False)
    new_view.file.write_data(file_view, self._wrapped_view_type)
    return new_view