Crate iowrap

source ·
Expand description

Some utility methods for wrapping std::io::Read and std::io::Write.

Structs§

  • Track whether a stream has hit the end of file.
  • Ignore all IO requests made on this object.
  • Track how many bytes have been read from a stream.
  • Intentionally return short reads, to test Read code.

Traits§

  • Retry read if it read short, to check we’re at the end of the file.