ReadBufferFillAsync Method (Int32, CancellationToken) | |
Asynchronously ensures that
count <= (
Count -
Index).
Namespace: Lawo.IOAssembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax public Task FillAsync(
int count,
CancellationToken cancellationToken
)
Parameters
- count
- Type: SystemInt32
The minimum number of bytes that will be available when the returned Task
completes. - cancellationToken
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskExceptions Remarks Asynchronously reads bytes into the buffer by repeatedly calling the callback specified during
construction until at least count bytes are available.
See Also