static int ByteToNumber(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); byte[] objs0 = LuaScriptMgr.GetArrayNumber <byte>(L, 1); double o = UtilCommon.ByteToNumber(objs0); LuaScriptMgr.Push(L, o); return(1); }