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

API Browser

Interface

InputStream

interface InputStream

Module: System.IO
Assembly: System.Runtime.dll
Source file: InputStream.rvn

Asynchronous byte input without requiring synchronous or seek operations.

Remarks

Keep the destination range available and unmodified until the task settles. Implementations document concurrency and ownership.

Implementing types

Documented types in this API reference. Indirect relationships are marked.

Methods

2 items
Close() -> () Closes this stream; repeated closure has no additional effect. Defined by InputStream.Close · Required implementation (no default).
Read(buffer: byte[], offset: int, count: int, cancellationToken?: CancellationToken) -> Task<Result<int, StreamError>> Reads up to count bytes; a positive-count read returns zero only at EOF. Defined by InputStream.Read · Required implementation (no default).