Click or drag to resize
FileStreamWriteAsync Method
Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Namespace: CMS.FileSystemStorage
Assembly: CMS.IO (in CMS.IO.dll) Version: 13.0.131
Syntax
C#
public override Task WriteAsync(
	byte[] buffer,
	int offset,
	int count,
	CancellationToken cancellationToken
)

Parameters

buffer
Type: SystemByte
The buffer to write data from.
offset
Type: SystemInt32
The zero-based byte offset in buffer from which to begin copying bytes to the stream.
count
Type: SystemInt32
The maximum number of bytes to write.
cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
See Also