6 writes to _bytesWritten
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (6)
src\SignalR\common\Shared\MemoryBufferWriter.cs (6)
99
_bytesWritten
= 0;
105
_bytesWritten
+= count;
295
_bytesWritten
++;
306
_bytesWritten
+= count;
320
_bytesWritten
+= span.Length;
342
_bytesWritten
= 0;
5 references to _bytesWritten
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
38
public override long Length =>
_bytesWritten
;
225
var result = new byte[
_bytesWritten
];
249
Debug.Assert(span.Length >=
_bytesWritten
);
273
Debug.Assert(
_bytesWritten
== totalWritten + _position);
338
var written = new WrittenBuffers(_completedSegments,
_bytesWritten
);