1 write to _segmentWriteStream
Microsoft.AspNetCore.ResponseCaching (1)
Streams\ResponseCachingStream.cs (1)
22_segmentWriteStream = new SegmentWriteStream(_segmentSize);
9 references to _segmentWriteStream
Microsoft.AspNetCore.ResponseCaching (9)
Streams\ResponseCachingStream.cs (9)
51return new CachedResponseBody(_segmentWriteStream.GetSegments(), _segmentWriteStream.Length); 57_segmentWriteStream.Dispose(); 119if (_segmentWriteStream.Length + count > _maxBufferSize) 125_segmentWriteStream.Write(buffer, offset, count); 148if (_segmentWriteStream.Length + buffer.Length > _maxBufferSize) 154await _segmentWriteStream.WriteAsync(buffer, cancellationToken); 173if (_segmentWriteStream.Length + 1 > _maxBufferSize) 179_segmentWriteStream.WriteByte(value);