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)
51
return new CachedResponseBody(
_segmentWriteStream
.GetSegments(),
_segmentWriteStream
.Length);
57
_segmentWriteStream
.Dispose();
119
if (
_segmentWriteStream
.Length + count > _maxBufferSize)
125
_segmentWriteStream
.Write(buffer, offset, count);
148
if (
_segmentWriteStream
.Length + buffer.Length > _maxBufferSize)
154
await
_segmentWriteStream
.WriteAsync(buffer, cancellationToken);
173
if (
_segmentWriteStream
.Length + 1 > _maxBufferSize)
179
_segmentWriteStream
.WriteByte(value);