input

Meant to imitate std::cin from iostream in C++, keeping the codebase as simple as possible.

For example, to take an integer from stdin: let handle = std::io::stdin(); let x = input::<i32>(&handle).unwrap();