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

API Browser

Interface

SyncOutputStream

interface SyncOutputStream

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

Optional synchronous byte output; independent of OutputStream.

Remarks

May block the calling thread. Source memory 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

3 items
Close() -> () Closes this stream; repeated closure has no additional effect. Closure does not imply flushing. Defined by SyncOutputStream.Close · Required implementation (no default).
Flush() -> Result<void, StreamError> Flushes implementation buffers, without implying durable storage or peer receipt. Defined by SyncOutputStream.Flush · Required implementation (no default).
Write(buffer: ReadOnlySlice<byte>) -> Result<void, StreamError> Writes the entire borrowed source range. Defined by SyncOutputStream.Write · Required implementation (no default).