function luaU.make_setS(S)local Q={}Q.data=""local X=function(S,Q)if not S then return 0 end Q.data=Q.data..S return 0 end return X,Q end
------------------------------------------------------------------------
-- create a chunk writer that writes to a string
-- * returns the writer function and a table containing the string
-- * to get the final result, look in buff.data
------------------------------------------------------------------------
function luaU:make_setS()
	local buff = {}
	buff.data = ""
	local writer = function(s, buff) -- chunk writer
		if not s then
			return 0
		end
		buff.data = buff.data .. s
		return 0
	end
	return writer, buff
end
