Expand description
Counted I/O helpers for protocol codecs.
These functions provide the completion guarantees of Read::read_exact
and Write::write_all while attaching codec metadata and byte progress to
any CodecError they return.
Functionsยง
- read_
exact_ counted - Fills
bufferfromreaderand tracks progress for codec errors. - write_
all_ counted - Writes all of
buffertowriterand tracks progress for codec errors.