string.dump (function)
Returns a string containing a binary representation of the given function, so that a later loadstring (string [, chunkname]) on this string returns a copy of the function. function must be a Lua function without upvalues.
loadstring (string [, chunkname])
function