Class StringLib.dump

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
StringLib

public static final class StringLib.dump extends VarArgFunction
string.dump (function[, stripDebug]) Returns a string containing a binary representation of the given function, so that a later loadstring on this string returns a copy of the function. function must be a Lua function without upvalues. Boolean param stripDebug - true to strip debugging info, false otherwise. The default value for stripDebug is true. TODO: port dumping code as optional add-on