2 writes to _currentMemoryPrefixBytes
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\Http1OutputProducer.cs (2)
543
_currentMemoryPrefixBytes
= 0;
637
_currentMemoryPrefixBytes
= ChunkWriter.GetPrefixBytesForChunk(_currentChunkMemory.Length, out var sliceOne);
7 references to _currentMemoryPrefixBytes
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1OutputProducer.cs (7)
267
if (_advancedBytesForChunk > _currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - bytes)
616
else if (_advancedBytesForChunk >= _currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - sizeHint && _advancedBytesForChunk > 0)
628
_currentMemoryPrefixBytes
+ _advancedBytesForChunk,
629
_currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - _advancedBytesForChunk);
652
Debug.Assert(bytesWritten <=
_currentMemoryPrefixBytes
);
654
if (bytesWritten <
_currentMemoryPrefixBytes
)
659
_currentChunkMemory.Slice(
_currentMemoryPrefixBytes
, _advancedBytesForChunk).CopyTo(_currentChunkMemory.Slice(bytesWritten));