2 writes to _stringOctets
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (2)
121_stringOctets = new byte[DefaultStringOctetsSize]; 585_stringOctets = new byte[Math.Max(length, Math.Min(_stringOctets.Length * 2, _maxHeadersLength))];
6 references to _stringOctets
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (6)
448data.Slice(currentIndex, count).CopyTo(_stringOctets.AsSpan(_stringIndex)); 479data.Slice(currentIndex, count).CopyTo(_stringOctets.AsSpan(_stringIndex)); 578if (length > _stringOctets.Length) 585_stringOctets = new byte[Math.Max(length, Math.Min(_stringOctets.Length * 2, _maxHeadersLength))]; 599return Huffman.Decode(new ReadOnlySpan<byte>(_stringOctets, 0, _stringLength), ref dst); 604Buffer.BlockCopy(_stringOctets, 0, dst, 0, _stringLength);