8 references to BufferLength
Microsoft.AspNetCore.SignalR.Client.Core (8)
src\SignalR\common\Shared\MessageBuffer.cs (8)
320
private readonly ReadOnlyMemory<byte>[] _messages = new ReadOnlyMemory<byte>[
BufferLength
];
330
if (_currentIndex <
BufferLength
- 1)
373
var numElements = (int)Math.Min(
BufferLength
, Math.Max(1, sequenceId - (linkedBuffer._startingSequenceId - 1)));
374
Debug.Assert(numElements > 0 && numElements <
BufferLength
+ 1);
384
if (numElements ==
BufferLength
)
418
Array.Clear(_messages, 0,
BufferLength
);
467
if (firstMessageIndex + index <
BufferLength
)
491
if (firstMessageIndex + _index >=
BufferLength
)