Input/output
FileStream
OutputFileStream
- Writes formatted output to a file.
Members: OutputFileStream,
~OutputFileStream,
write,
writeln
stdout -
Returns a stream writing to standard output.
stderr -
Returns a stream writing to standard error.
stdio
println -
Prints the given value followed by a newline.
print -
Prints the given value without allocating. Values that aren't copyable
must be borrowed explicitly, so printing never moves from them.
join -
Joins the array elements into a string with the given separator.
eprint
- Prints the given value to stderr without allocating. Values that
aren't copyable must be borrowed explicitly, so printing never moves
from them.
eprintln -
Prints the given value to stderr followed by a newline.
readLine -
Reads a line from stdin.