1 write to _stringLength
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (1)
624_stringLength = length;
12 references to _stringLength
Microsoft.AspNetCore.Shared.Tests (12)
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (12)
287int count = Math.Min(_stringLength - _stringIndex, data.Length - currentIndex); 292if (count == _stringLength && !_huffman) 296_headerNameLength = _stringLength; 315if (_stringIndex == _stringLength) 373int count = Math.Min(_stringLength - _stringIndex, data.Length - currentIndex); 377if (count == _stringLength && !_huffman) 399if (_stringIndex == _stringLength) 633EnsureStringCapacity(ref dst, _stringLength, existingLength: 0); 637int decodedLength = Huffman.Decode(new ReadOnlySpan<byte>(_stringOctets, 0, _stringLength), ref dst); 646Debug.Assert(_stringLength <= _maxHeadersLength, "String length should have been checked prior to decode."); 647Buffer.BlockCopy(_stringOctets, 0, dst, 0, _stringLength); 648return _stringLength;