3 references to ReadSegment
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheEntryFormatter.cs (3)
319
result.SetBody(new ReadOnlySequence<byte>(
ReadSegment
(ref reader)), recycleBuffers: false); // we're reusing the live payload buffers
324
RecyclableReadOnlySequenceSegment first = RecyclableReadOnlySequenceSegment.Create(
ReadSegment
(ref reader), null), last = first;
327
last = RecyclableReadOnlySequenceSegment.Create(
ReadSegment
(ref reader), last);