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)
287
int count = Math.Min(
_stringLength
- _stringIndex, data.Length - currentIndex);
292
if (count ==
_stringLength
&& !_huffman)
296
_headerNameLength =
_stringLength
;
315
if (_stringIndex ==
_stringLength
)
373
int count = Math.Min(
_stringLength
- _stringIndex, data.Length - currentIndex);
377
if (count ==
_stringLength
&& !_huffman)
399
if (_stringIndex ==
_stringLength
)
633
EnsureStringCapacity(ref dst,
_stringLength
, existingLength: 0);
637
int decodedLength = Huffman.Decode(new ReadOnlySpan<byte>(_stringOctets, 0,
_stringLength
), ref dst);
646
Debug.Assert(
_stringLength
<= _maxHeadersLength, "String length should have been checked prior to decode.");
647
Buffer.BlockCopy(_stringOctets, 0, dst, 0,
_stringLength
);
648
return
_stringLength
;