klyn.io.ConsoleInputStream.read
method
public read() as String
Description

Reads through EOF as strict UTF-8, preserving embedded U+0000 scalars. Uses ConsoleTextReader and its shared native input buffer. The returned String holds the complete text. Use readInto for bounded binary copying.

Returns

Remaining input as Unicode text.

Throws
  • IOException for malformed or incomplete UTF-8, or an input failure.
Example

text = ConsoleInputStream().read()