2 writes to _stringOctets
Microsoft.AspNetCore.Server.Kestrel.Core (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
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (6)
443data.Slice(currentIndex, count).CopyTo(_stringOctets.AsSpan(_stringIndex)); 474data.Slice(currentIndex, count).CopyTo(_stringOctets.AsSpan(_stringIndex)); 573if (length > _stringOctets.Length) 580_stringOctets = new byte[Math.Max(length, Math.Min(_stringOctets.Length * 2, _maxHeadersLength))]; 594return Huffman.Decode(new ReadOnlySpan<byte>(_stringOctets, 0, _stringLength), ref dst); 599Buffer.BlockCopy(_stringOctets, 0, dst, 0, _stringLength);