Method
Read
func Read(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken = default) -> Task<Result<int, StreamError>>
Declaring type: FileInputStream
Module: System.IO
Assembly: System.Runtime.dll
Source file: FileInputStream.rvn
Implements InputStream.Read
Returns an inline-completed operation over the current blocking provider.
Parameters
| Name | Type | Description |
|---|---|---|
buffer |
Byte[] | |
offset |
Int32 | |
count |
Int32 | |
cancellationToken |
CancellationToken |