17 references to AvailableMemory
System.Net.Http (17)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (3)
430int bytesRead = await _stream.ReadAsync(_incomingBuffer.AvailableMemory).ConfigureAwait(false); 475int bytesRead = await _stream.ReadAsync(_incomingBuffer.AvailableMemory).ConfigureAwait(false); 559int bytesRead = await _stream.ReadAsync(_incomingBuffer.AvailableMemory).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (5)
607bytesRead = await stream.ReadAsync(buffer.AvailableMemory, CancellationToken.None).ConfigureAwait(false); 804bytesRead = await stream.ReadAsync(buffer.AvailableMemory, CancellationToken.None).ConfigureAwait(false); 837bytesRead = await stream.ReadAsync(buffer.AvailableMemory, CancellationToken.None).ConfigureAwait(false); 888bytesRead = await stream.ReadAsync(buffer.AvailableMemory, CancellationToken.None).ConfigureAwait(false); 917int bytesRead = await stream.ReadAsync(buffer.AvailableMemory, CancellationToken.None).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (4)
640int bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 908bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 967int bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false); 1173int bytesRead = await _stream.ReadAsync(_recvBuffer.AvailableMemory, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (5)
170_readAheadTask = _stream.ReadAsync(_readBuffer.AvailableMemory); 259int read = await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false); 1656await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1672await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1875int bytesRead = await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);