Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

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

Return value

Task<Result<Int32, StreamError>>