Module read_exact

Source

Structsยง

ReadExact
Creates a future which will read exactly enough bytes to fill buf, returning an error if EOF is hit sooner.

Functionsยง

eof ๐Ÿ”’
read_exact ๐Ÿ”’
A future which can be used to easily read exactly enough bytes to fill a buffer.