6 writes to _bytesWritten
Microsoft.AspNetCore.SignalR.Client.Tests (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.Client.Tests (5)
src\SignalR\common\Shared\MemoryBufferWriter.cs (5)
38public override long Length => _bytesWritten; 225var result = new byte[_bytesWritten]; 249Debug.Assert(span.Length >= _bytesWritten); 273Debug.Assert(_bytesWritten == totalWritten + _position); 338var written = new WrittenBuffers(_completedSegments, _bytesWritten);