12 references to TryRead
Microsoft.AspNetCore.Shared.Tests (12)
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,
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);