Expand description

Extra utilities for the bytes crate.

The bytes crate defines few traits and types to help with high-performance manipulation of byte arrays. Nevertheless, it is more of an interface-level of library (many other crates expose its types and traits in their own public interfaces) and therefore tries to be on the lean side.

One often wishes for some more auxiliary functionality „around“ these types and that’s what this crate aims to provide.

The content


pub use string::Str;
pub use string::StrMut;


String-like wrappers around Bytes and BytesMut.


The format macro, but returning Str.

The format macro, but returning StrMut.


A concatenation of multiple buffers into a large one, without copying the bytes over.

A consumable view of a sequence of buffers.