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

API Browser

Interface

SyncInputStream

interface SyncInputStream

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

Optional synchronous byte input; independent of InputStream.

Remarks

May block the calling thread. The destination is borrowed only for the call. Implementations document ownership and concurrency; no Task or cancellation contract is implied.

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 SyncInputStream.Close · Required implementation (no default).
Read(buffer: Slice<byte>) -> Result<int, StreamError> Reads up to buffer.Length bytes; short reads are successful. Defined by SyncInputStream.Read · Required implementation (no default).