internal HttpWriter(HttpResponse response) : base(null) { this._response = response; this._stream = new HttpResponseStream(this); this._buffers = new ArrayList(); this._lastBuffer = null; this._charBuffer = (char[])s_Allocator.GetBuffer(); this._charBufferLength = this._charBuffer.Length; this._charBufferFree = this._charBufferLength; this.UpdateResponseBuffering(); }
internal HttpWriter(HttpResponse response) { _response = response; _stream = new HttpResponseStream(this); _buffers = new ArrayList(); _lastBuffer = null; _charBuffer = (char[])s_Allocator.GetBuffer(); _charBufferLength = _charBuffer.Length; _charBufferFree = _charBufferLength; UpdateResponseBuffering(); UpdateResponseEncoding(); }