1 write to _recvBuffer
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
74_recvBuffer = new ArrayBuffer(initialSize: 64, usePool: true);
30 references to _recvBuffer
System.Net.Http (30)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (30)
134_recvBuffer.Dispose(); 847while (!Http3Frame.TryReadIntegerPair(_recvBuffer.ActiveSpan, out frameType, out payloadLength, out bytesRead)) 849_recvBuffer.EnsureAvailableSpace(VariableLengthIntegerHelper.MaximumEncodedLength * 2); 850bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 854_recvBuffer.Commit(bytesRead); 856else if (_recvBuffer.ActiveLength == 0) 868_recvBuffer.Discard(bytesRead); 915if (_recvBuffer.ActiveLength == 0) 917_recvBuffer.EnsureAvailableSpace(1); 919int bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 922_recvBuffer.Commit(bytesRead); 931int processLength = (int)Math.Min(headersLength, _recvBuffer.ActiveLength); 934_headerDecoder.Decode(_recvBuffer.ActiveSpan.Slice(0, processLength), endHeaders, this); 935_recvBuffer.Discard(processLength); 1115if (_recvBuffer.ActiveLength == 0) 1117_recvBuffer.EnsureAvailableSpace(1); 1118int bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 1122_recvBuffer.Commit(bytesRead); 1131long readLength = Math.Min(payloadLength, _recvBuffer.ActiveLength); 1132_recvBuffer.Discard((int)readLength); 1158if (_recvBuffer.ActiveLength != 0) 1162int copyLen = (int)Math.Min(buffer.Length, Math.Min(_responseDataPayloadRemaining, _recvBuffer.ActiveLength)); 1163_recvBuffer.ActiveSpan.Slice(0, copyLen).CopyTo(buffer); 1167_recvBuffer.Discard(copyLen); 1173if (_responseDataPayloadRemaining == 0 && _recvBuffer.ActiveLength == 0) 1230if (_recvBuffer.ActiveLength != 0) 1234int copyLen = (int)Math.Min(buffer.Length, Math.Min(_responseDataPayloadRemaining, _recvBuffer.ActiveLength)); 1235_recvBuffer.ActiveSpan.Slice(0, copyLen).CopyTo(buffer.Span); 1239_recvBuffer.Discard(copyLen); 1245if (_responseDataPayloadRemaining == 0 && _recvBuffer.ActiveLength == 0)