powered by
Simple implementation of a circular buffer.
cbuf(b, v, e)
The variable holding the current buffer content
The new valued to be added to b
The length of circular buffer
The buffer b plus the element v minus the least recently added element