message: Add missing _closed member variable and set it when BufferedInputStream.close() is called.
  Correctly update the read limit in BufferedInputStream.mark().
diff: * @type {number}
  */
  _readlimit: { value: -1, writable: true, enumerable: false, configurable: false },
  + /**
  + * True if stream is closed.
  + *
  + * @type {boolean}
  + */
  + _closed: { value: false, writable: true, enumerable: false, configurable: false },
  };
  Object.defineProperties(this, props);
  },
  /** @inheritDoc */
  close: function close(timeout, callback) {
  + this._closed = true;
  this._source.close(timeout, callback);
  },
  }
  // If there is data buffered and the current mark position is not
  - // zero (at the beginning) then truncate the the buffer.
  + // zero (at the beginning) then truncate the buffer.
  if (this._bufpos > 0) {
  var data = this._buffer.toByteArray();
  this._buffer = new ByteArrayOutputStream();
  }
  // Otherwise the existing buffer contains the correct data.
  + //
  + // Set the new read limit.
  + this._readlimit = readlimit;
  },
  /** @inheritDoc */
  