3 writes to _memory
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (3)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (3)
65
writer.
_memory
= Memory<byte>.Empty;
162
_memory
= _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
199
_memory
= _memory.Slice(_memoryUsed, _memory.Length - _memoryUsed);
6 references to _memory
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (6)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (6)
100
_memory
.Span[_memoryUsed] = (byte)value;
144
return
_memory
.Span.Slice(_memoryUsed,
_memory
.Length - _memoryUsed);
153
var remaining =
_memory
.Length - _memoryUsed;
199
_memory =
_memory
.Slice(_memoryUsed,
_memory
.Length - _memoryUsed);