IConnection.ReadAsync(Memory<Byte>, TimeSpan) Method

Definition

public:
 System::Threading::Tasks::ValueTask<int> ReadAsync(Memory<System::Byte> buffer, TimeSpan timeout);
public System.Threading.Tasks.ValueTask<int> ReadAsync (Memory<byte> buffer, TimeSpan timeout);
abstract member ReadAsync : Memory<byte> * TimeSpan -> System.Threading.Tasks.ValueTask<int>
Public Function ReadAsync (buffer As Memory(Of Byte), timeout As TimeSpan) As ValueTask(Of Integer)

Parameters

buffer
Memory<Byte>
timeout
TimeSpan

Returns

Applies to