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