9 references to BinaryMessageParser
Microsoft.AspNetCore.SignalR.Common.Tests (9)
Internal\Formatters\BinaryMessageFormatterTests.cs (1)
128
Assert.True(
BinaryMessageParser
.TryParseMessage(ref buffer, out var roundtripped));
Internal\Formatters\BinaryMessageParserTests.cs (6)
22
Assert.True(
BinaryMessageParser
.TryParseMessage(ref span, out var message));
57
Assert.True(
BinaryMessageParser
.TryParseMessage(ref span, out var message));
71
BinaryMessageParser
.TryParseMessage(ref buffer, out var message);
84
Assert.False(
BinaryMessageParser
.TryParseMessage(ref buffer, out var message));
100
while (
BinaryMessageParser
.TryParseMessage(ref buffer, out var message))
118
Assert.False(
BinaryMessageParser
.TryParseMessage(ref buffer, out var message));
Internal\Protocol\MessagePackHubProtocolTestBase.cs (2)
276
Assert.True(
BinaryMessageParser
.TryParseMessage(ref byteSpan, out var unframed));
480
Assert.True(
BinaryMessageParser
.TryParseMessage(ref data, out var message));