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

API Browser

Method

OpenStandardOutput

static func OpenStandardOutput() -> SyncOutputStream

Declaring type: Console
Module: System
Assembly: System.Runtime.dll
Source file: Console.rvn

Opens a non-owning byte-stream wrapper for standard output.

Return value

SyncOutputStream

An InputStream for input or OutputStream for either output channel.

Remarks

Each call creates an independent wrapper; Close closes only the wrapper. Input may return a one-byte short read. Calls are synchronous; operations are limited to 65536 bytes.