Lyricdev
GitHub

class ConsoleReader

pub class ConsoleReader :: [Reader]

Conforms to Reader.

The console's input as bytes, unbuffered (lyr/console.h): what stdin() reads through its buffer. A second one beside it would take bytes the buffer is owed: read through stdin().

Methods

pub mut fn read(into: Slice<uint8>): int throws IoError