3 references to MaxLengthPrefixSize
Microsoft.AspNetCore.SignalR.Common.Tests (3)
src\SignalR\common\Shared\BinaryMessageParser.cs (3)
36
var lengthPrefixBuffer = buffer.Slice(0, Math.Min(
MaxLengthPrefixSize
, buffer.Length));
49
if ((byteRead & 0x80) != 0 && (numBytes <
MaxLengthPrefixSize
))
55
if ((byteRead & 0x80) != 0 || (numBytes ==
MaxLengthPrefixSize
&& byteRead > 7))