Big IO change!
Created by: ticki
Changes include:
- Almost 100% libstd compatibility.
- Added BufRead and BufWrite.
- Rewrote the IO error handling to match the upstream one.
- Buffered streams.
- Flushing.
Sink
Cursor
Tee
- Buffered
Bytes
iterator.
and much more.
This makes libredox::io almost identical to std::io. Pretty much all of the doc comments are stolen from libstd's, the same is true for some of the code.
Let me know if you find any bugs.