StreamHelperFillAsync Method |
Namespace: Lawo.IO
public static Task FillAsync( ReadAsyncCallback read, byte[] buffer, int offset, int count, CancellationToken cancellationToken )
Exception | Condition |
---|---|
ArgumentNullException | read equals null. |
EndOfStreamException | The end of the stream has been reached before buffer could be filled to count bytes. |
Exception | read has thrown an exception. |