Syntax
public
virtual
System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken)
Parameters
- buffer
- Type: byte[]
An array of bytes. This method copies count bytes from buffer to the current stream.
- offset
- Type: int
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
- count
- Type: int
The number of bytes to be written to the current stream.
- cancellationToken
- Type: System.Threading.CancellationToken
The cancellation token.