2 writes to _stringOctets
http2cat (2)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (2)
116
_stringOctets
= new byte[DefaultStringOctetsSize];
580
_stringOctets
= new byte[Math.Max(length, Math.Min(_stringOctets.Length * 2, _maxHeadersLength))];
6 references to _stringOctets
http2cat (6)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (6)
443
data.Slice(currentIndex, count).CopyTo(
_stringOctets
.AsSpan(_stringIndex));
474
data.Slice(currentIndex, count).CopyTo(
_stringOctets
.AsSpan(_stringIndex));
573
if (length >
_stringOctets
.Length)
580
_stringOctets = new byte[Math.Max(length, Math.Min(
_stringOctets
.Length * 2, _maxHeadersLength))];
594
return Huffman.Decode(new ReadOnlySpan<byte>(
_stringOctets
, 0, _stringLength), ref dst);
599
Buffer.BlockCopy(
_stringOctets
, 0, dst, 0, _stringLength);