6 writes to _memoryUsed
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (6)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (6)
66writer._memoryUsed = 0; 101_memoryUsed++; 128_memoryUsed += bytesUsed; 163_memoryUsed = 0; 190_memoryUsed += bytesUsed; 200_memoryUsed = 0;
10 references to _memoryUsed
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (10)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (10)
100_memory.Span[_memoryUsed] = (byte)value; 144return _memory.Span.Slice(_memoryUsed, _memory.Length - _memoryUsed); 153var remaining = _memory.Length - _memoryUsed; 157if (_memoryUsed > 0) 159_bufferWriter!.Advance(_memoryUsed); 196if (_memoryUsed > 0) 198_bufferWriter!.Advance(_memoryUsed); 199_memory = _memory.Slice(_memoryUsed, _memory.Length - _memoryUsed);