Share via


AdlsOutputStream.WriteAsync(Byte[], Int32, Int32, CancellationToken) Method

Definition

Writes data to internal buffer. If the buffer fills up then writes to the file in server. Does it asynchronously

public override System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count, System.Threading.CancellationToken cancelToken);
override this.WriteAsync : byte[] * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteAsync (buffer As Byte(), offset As Integer, count As Integer, cancelToken As CancellationToken) As Task

Parameters

buffer
Byte[]

Input byte array containing the Data to write

offset
Int32

Offset in buffer

count
Int32

Count of bytes to write

cancelToken
CancellationToken

Cancellation token

Returns

Applies to