static int readSkip(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); KBEngine.MemoryStream obj = (KBEngine.MemoryStream)ToLua.CheckObject <KBEngine.MemoryStream>(L, 1); uint arg0 = (uint)LuaDLL.luaL_checknumber(L, 2); obj.readSkip(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }