Module compio_io::util

source ·
Expand description

IO related utilities functions for ease of use.

Structs§

  • An empty reader and writer constructed via null.
  • A reader that infinitely repeats one byte constructed via repeat.
  • Read up to a limit number of bytes from reader.

Functions§

  • Asynchronously copies the entire contents of a reader into a writer.
  • Create a new Null reader and writer which acts like a black hole.
  • Creates a reader that infinitely repeats one byte.