Module read_exact

Source
Expand description

I/O-free coroutine to read bytes into a buffer until it reaches a given amount of bytes.

Structs§

ReadStreamExact
I/O-free coroutine to read bytes into a buffer until it reaches a given amount of bytes.

Enums§

ReadStreamExactError
Errors that can occur during the coroutine progression.
ReadStreamExactResult
Output emitted after a coroutine finishes its progression.