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