1 unstable release
Uses old Rust 2015
0.2.0 | Nov 19, 2016 |
---|
#2258 in Data structures
224 downloads per month
Used in casper-node
7KB
170 lines
Multi-read no_std ring buffer
The wheelbuffer crate offers a ringbuffer-like structure without a read pointer, making multiple reads of a buffer possible. The store behind the buffer is flexible and can be a static array, a vector or any other structure that can be converted into a slice.
Documentation is available at docs.rs.
lib.rs
:
Multi-read no_std ring buffer
The wheelbuffer crate offers a ringbuffer-like structure without a read
pointer, making multiple reads of a buffer possible. Instead of relying on
a fixed data structure as a backend, it is generic over a type C
that
offers the slice interface, e.g. a vector or even a static array.
The create performs no allocations itself and does not use the standard
library (#![no_std]
).