Crate async_io_utilities
source ·Expand description
Structs
A wrapper around an
AsyncRead
implementation that allows appending bytes from a buffer during reads.A wrapper around an
AsyncRead
implementation that allows matching of a multi-byte delimiter.A wrapper around an
AsyncWrite
implementation which tracks the current byte offset.A wrapper around an
AsyncRead
implementation that allows prepending bytes from a buffer during reads.Constants
A suggested buffer size for IO operations; equal to 16Kb.
Functions
A buffered alternative to
tokio::io::copy
for high-throughput use cases.Read and return a dynamic length vector of bytes from a reader which impls AsyncRead.
Read and return a dynamic length string from a reader which impls AsyncRead.