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