Skip to main content

Crate bytes_deque

Crate bytes_deque 

Source
Expand description

This crate implements BytesDeque, a growable deque of u8 bytes.

The use of BytesDeque is similar to std::collections::VecDeque, but its contents are always available as a slice. Other similar projects are linear-deque, vmap, slice_ring_buf, slice-ring-buffer. Our reason for writing yet another implementation is that we wanted to provide the user of the crate a means by which they can modify the raw memory themselves (and adjust the offset and length to match). Our implementation is more bare-bones compared to the other crates but it fits our needs.

Structsยง

BytesDeque
BytesDeque