2 references to ReadBytesMemory
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheEntryFormatter.cs (2)
336
return reader.
ReadBytesMemory
(segmentLength);
369
result.SetBody(new(reader.
ReadBytesMemory
(payloadLength)), recycleBuffers: false); // we're reusing the live payload buffers