#ring-buffer #iterator #iterate #overwrite #order

no-std ringbuffer-iteration

A no-std ring buffer implementation with iterator support

1 unstable release

0.1.0 Dec 13, 2021

#11 in #overwrite

MIT license

20KB
466 lines

A ring buffer implementation where newer samples overwrite old samples. This implementation also enables the use of Rust iterators to iterate through the ring buffer in order from oldest to newest entries.

This library is implemented without the use of the standard library, and thus requires passing in a "backing store" of a statically allocated array.

Dependencies

~565KB
~11K SLoC