What is the Kotlin's way to work with `<http://Sys...
# announcements
v
What is the Kotlin's way to work with
<http://System.in|System.in>
,
System.out
?
b
Copy code
System.`in`
System.`out`
v
Thanks, aren't there any wrappers or some Kotlin-specific classes for IO?
b
What's your use-case? There are several top-level functions like
readLine
and `print`/`println` in stdlib
v
I need to pass
stdin
and
stdout
to a builder (function):
Copy code
builder.streams(System.`in`, System.`out`)
Because Kotlin has own
println
instead of
System.out.println
, so, maybe, there are some tricks with IO that I do not know yet
b
No, it's ok to pass them to a builder
🙏 1