Available on crate feature
bytes_
only.Expand description
One bytes type to rule them all!
TODO(parkertimmerman): Ideally we don’t implement this “bytes type” on our own
and use something else, e.g. SegmentedBuf
from the bytes-utils
crate. Currently
that type, nor anything else, implement std::io::Read and std::io::Seek, which
we need. We have an open issue with the bytes-utils
crate, https://github.com/vorner/bytes-utils/issues/16
to add these trait impls.
Modules§
- internal 🔒
Structs§
- A cheaply clonable collection of possibly non-contiguous bytes.
Enums§
Constants§
- Default value used for
Padding
.
Type Aliases§
- Padding 🔒We add
Padding
to segments to prevent needing to re-allocate our collection when creating aSegmentedReader
.