2 writes to _currentMemoryPrefixBytes
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\Http1OutputProducer.cs (2)
547
_currentMemoryPrefixBytes
= 0;
641
_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)
620
else if (_advancedBytesForChunk >= _currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - sizeHint && _advancedBytesForChunk > 0)
632
_currentMemoryPrefixBytes
+ _advancedBytesForChunk,
633
_currentChunkMemory.Length -
_currentMemoryPrefixBytes
- EndChunkLength - _advancedBytesForChunk);
656
Debug.Assert(bytesWritten <=
_currentMemoryPrefixBytes
);
658
if (bytesWritten <
_currentMemoryPrefixBytes
)
663
_currentChunkMemory.Slice(
_currentMemoryPrefixBytes
, _advancedBytesForChunk).CopyTo(_currentChunkMemory.Slice(bytesWritten));