Click or drag to resize
StreamHelperFillAsync Method
Repeatedly calls read until count bytes have been read into buffer.

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public static Task FillAsync(
	ReadAsyncCallback read,
	byte[] buffer,
	int offset,
	int count,
	CancellationToken cancellationToken
)

Parameters

read
Type: Lawo.IOReadAsyncCallback
buffer
Type: SystemByte
offset
Type: SystemInt32
count
Type: SystemInt32
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: Task
Exceptions
ExceptionCondition
ArgumentNullExceptionread equals null.
EndOfStreamExceptionThe end of the stream has been reached before buffer could be filled to count bytes.
Exceptionread has thrown an exception.
See Also