code: function mkDefault(type) {
              if (typeof type === 'string')
                  type = ProtoBuf.TYPES[type];
              if (typeof type.defaultValue === 'undefined')
                  throw Error("default value for type "+type.name+" is not supported");
              if (type == ProtoBuf.TYPES["bytes"])
                  return new ByteBuffer(0);
              return type.defaultValue;
          }
docs: Obtains a (new) default value for the specified type.
  @param type {string|{name: string, wireType: number}} Field type
  @returns {*} Default value
  @inner