1 write to _segmentWriteStream
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
22
_segmentWriteStream
= new(_segmentSize);
11 references to _segmentWriteStream
Microsoft.AspNetCore.OutputCaching (11)
Streams\OutputCacheStream.cs (11)
51
return
_segmentWriteStream
.DetachAndReset();
57
_segmentWriteStream
.Dispose();
119
if (
_segmentWriteStream
.Length + count > _maxBufferSize)
125
_segmentWriteStream
.Write(buffer.AsSpan(offset, count));
145
if (
_segmentWriteStream
.Length + buffer.Length > _maxBufferSize)
151
_segmentWriteStream
.Write(buffer);
174
if (
_segmentWriteStream
.Length + buffer.Length > _maxBufferSize)
180
_segmentWriteStream
.Write(buffer.Span);
199
if (
_segmentWriteStream
.Length + 1 > _maxBufferSize)
205
_segmentWriteStream
.WriteByte(value);
214
_segmentWriteStream
?.Dispose();