Uses old Rust 2015
0.1.0 |
|
---|
#86 in #byte-buffer
5KB
60 lines
tokio-try-read-full
This crate complemnts tokio-io
's read_exact
for scenarios where you want to
read as many bytes as possible into a buffer until either the buffer is full or
the reader returns EOF
.
lib.rs
:
This library provides a future to complement tokio-io
's read_exact
. Sometimes, you want to
read as much as possible into a large buffer. It does not have to be an error to not fill the
buffer.
Dependencies
~615KB
~11K SLoC