Module mz_ore::bytes

source ·
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.

Structs

  • A cheaply clonable collection of possibly non-contiguous bytes.

Enums