A quick introduction to the ring buffer data structure.
Ring buffers (also known as circular buffers) are fixed-size buffers that works
as if the memory were contiguous and circular.
The data inside the ring buffer are delimited by two pointers that are adjusted when a new data is generated or an existin...
blog.francofernando.com5 min read