26 references to Decode
Microsoft.AspNetCore.Shared.Tests (26)
runtime\Http3\QPackDecoderTest.cs (26)
75_decoder.Decode(new byte[] { 0, 0 }, endHeaders: false, handler: _handler); 76_decoder.Decode(_indexedFieldLineStatic, endHeaders: true, handler: _handler); 90_decoder.Decode(new byte[] { 0, 0 }, endHeaders: false, handler: _handler); 91_decoder.Decode(encoded, endHeaders: true, handler: _handler); 188_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 189_decoder.Decode(encoded, endHeaders: true, handler: _handler); 203_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 204_decoder.Decode(encoded[..1], endHeaders: false, handler: _handler); 205_decoder.Decode(encoded[1..], endHeaders: true, handler: _handler); 219_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 220_decoder.Decode(encoded[..(_literalHeaderFieldString.Length / 2)], endHeaders: false, handler: _handler); 221_decoder.Decode(encoded[(_literalHeaderFieldString.Length / 2)..], endHeaders: true, handler: _handler); 235_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 236_decoder.Decode(encoded[..^_headerValue.Length], endHeaders: false, handler: _handler); 237_decoder.Decode(encoded[^_headerValue.Length..], endHeaders: true, handler: _handler); 251_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 252_decoder.Decode(encoded[..^(_headerValue.Length - 1)], endHeaders: false, handler: _handler); 253_decoder.Decode(encoded[^(_headerValue.Length - 1)..], endHeaders: true, handler: _handler); 267_decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: _handler); 268_decoder.Decode(encoded[..^(_headerValueString.Length / 2)], endHeaders: false, handler: _handler); 269_decoder.Decode(encoded[^(_headerValueString.Length / 2)..], endHeaders: true, handler: _handler); 295QPackDecodingException exception = Assert.Throws<QPackDecodingException>(() => _decoder.Decode(encoded, endHeaders: true, handler: _handler)); 330decoder.Decode(new byte[] { 0x00, 0x00 }, endHeaders: false, handler: handler); 334decoder.Decode(encoded, endHeaders: true, handler: handler); 348decoder.Decode(Array.Empty<byte>(), endHeaders: false, handler: handler); 349decoder.Decode(chunk, endHeaders: end, handler: handler);