Skip to content

Big IO change!

Jeremy Soller requested to merge ticki:master into master

Created by: ticki

Changes include:

  1. Almost 100% libstd compatibility.
  2. Added BufRead and BufWrite.
  3. Rewrote the IO error handling to match the upstream one.
  4. Buffered streams.
  5. Flushing.
  6. Sink
  7. Cursor
  8. Tee
  9. 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.

Merge request reports