8 references to TryDecode
Microsoft.AspNetCore.Shared.Tests (8)
runtime\Http2\HPackIntegerTest.cs (4)
45finished = integerDecoder.TryDecode(encoded[i], out actualResult); 72decodeResult = decoder.TryDecode(integerBytes[j], out intResult); 100Assert.False(decoder.TryDecode(octets[j], out intResult)); 103Assert.Throws<HPackDecodingException>(() => decoder.TryDecode(octets[octets.Length - 1], out intResult));
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (1)
637if (_integerDecoder.TryDecode(data[currentIndex], out result))
src\Shared\runtime\Http2\Hpack\IntegerDecoder.cs (2)
30/// Otherwise, false -- <see cref="TryDecode(byte, out int)"/> must be called on subsequent bytes. 61/// <returns>If the integer has been fully decoded, true. Otherwise, false -- <see cref="TryDecode(byte, out int)"/> must be called on subsequent bytes.</returns>
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (1)
691if (_integerDecoder.TryDecode(data[currentIndex], out result))