Utilities for working with buffers.
A buffer is any structure that contains a sequence of bytes. The bytes may or may not be stored in contiguous memory. This module contains traits used to abstract over buffers as well as utilities for working with buffer types.
These are the two foundational traits for abstractly working with buffers.
They can be thought as iterators for byte structures. They offer additional
Iterator by providing an API optimized for byte slices.
Chainsequences two buffers.
BufMutadapter which limits the amount of bytes that can be written to an underlying buffer.
Bufadapter which implements
io::Readfor the inner value.
Bufadapter which limits the bytes read from an underlying buffer.
BufMutadapter which implements
io::Writefor the inner value.