code: function packResult(args, proto, ObjName) {
      debug && logger.trace("Package Data To Client [ %s ]", JSON.stringify(args));
      if (null == proto) {
          logger.error('No proto File Configured！');
          return "";
      } else if (typeof proto == "string") {
          if (fs.existsSync(proto)) {
              proto = ProtoBuf.loadProtoFile(proto);
          } else if (fs.existsSync(proto + ".proto")) {
              proto = ProtoBuf.loadProtoFile(proto + ".proto");
          } else {
              return "";
          }
      }
  
      var RetMessage = proto.build("Ret" + ObjName);
      try {
          var ret_msg = new RetMessage();
      } catch (e) {
          console.log(RetMessage, e);
      }
  
      for (var index in args) {
          if (args.hasOwnProperty(index)) {
              ret_msg[index] = args[index];
          }
      }
  
      return ret_msg.toBase64();
  }
docs: 将需要返回的数据按照指定protobuf格式打包 - 服务器端用
  
  @param {Object | String} args
  @param {Object | String} proto
  @param {String} ObjName
  @returns {String} {*}