Files
wren/doc/site/modules/io/stdin.markdown
T
2016-05-20 11:50:14 -07:00

20 lines
433 B
Markdown

^title Stdin Class
The standard input stream.
## Static Methods
### **readByte**()
Reads one byte of input from stdin. Blocks the current fiber until a byte has
been received.
Returns the byte value as a number or `null` if stdin is closed.
### **readLine**()
Reads one line of input from stdin. Blocks the current fiber until a full line
of input has been received.
Returns the string of input or `null` if stdin is closed.