16 references to TryRead
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (2)
191
if (!VariableLengthIntegerHelper.
TryRead
(payload.Span, out var streamId, out var _))
977
if (!VariableLengthIntegerHelper.
TryRead
(payload.Span, out var streamId, out var _))
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Shared\runtime\Http3\Frames\Http3Frame.cs (2)
17
if (VariableLengthIntegerHelper.
TryRead
(buffer, out a, out int aLength))
20
if (VariableLengthIntegerHelper.
TryRead
(buffer, out b, out int bLength))
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (2)
90
if (
TryRead
(reader.UnreadSpan, out value, out int bytesRead))
117
bool result =
TryRead
(temp, out value, out int bytesRead);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (8)
17
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
32
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
48
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
63
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
81
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
96
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
113
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
128
bool isSuccess = VariableLengthIntegerHelper.
TryRead
(readOnlySpan,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (2)
191
if (!VariableLengthIntegerHelper.
TryRead
(payload.Span, out var streamId, out var _))
977
if (!VariableLengthIntegerHelper.
TryRead
(payload.Span, out var streamId, out var _))