2 writes to _currentMemoryPrefixBytes
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\Http1OutputProducer.cs (2)
544
_currentMemoryPrefixBytes
= 0;
638
_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)
617
else if (_advancedBytesForChunk >= _currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - sizeHint && _advancedBytesForChunk > 0)
629
_currentMemoryPrefixBytes
+ _advancedBytesForChunk,
630
_currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - _advancedBytesForChunk);
653
Debug.Assert(bytesWritten <=
_currentMemoryPrefixBytes
);
655
if (bytesWritten <
_currentMemoryPrefixBytes
)
660
_currentChunkMemory.Slice(
_currentMemoryPrefixBytes
, _advancedBytesForChunk).CopyTo(_currentChunkMemory.Slice(bytesWritten));