Module util

Source
Expand description

IO related utilities functions for ease of use.

Structs§

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

Functions§

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