Jaa


ITransportSender.SendAsync(Byte[], Int32, Int32) Method

Definition

Called to send data to the wire transport.

public System.Threading.Tasks.Task<int> SendAsync (byte[] buffer, int offset, int count);
abstract member SendAsync : byte[] * int * int -> System.Threading.Tasks.Task<int>
Public Function SendAsync (buffer As Byte(), offset As Integer, count As Integer) As Task(Of Integer)

Parameters

buffer
Byte[]

A buffer of data to write to the wire transport.

offset
Int32

The location within the buffer to begin reading.

count
Int32

The amount of bytes to write to the wire transport.

Returns

The number of bytes written to the wire transport.

Applies to