klyn.io.ConsoleTextReader.readAllText
method
public readAllText() as String throws IOException
Description

Reads all remaining text from standard input as strict UTF-8, preserving embedded U+0000 scalars. Use ConsoleInputStream for undecoded bytes.

Returns

Remaining input text, or an empty string at end-of-stream.

Throws
  • IOException if reading fails or the input is not valid UTF-8.
Example

content = Application.in.readAllText()