cbuf: cbuf

View source: R/helper-functions.R

cbufR Documentation

cbuf

Description

Simple implementation of a circular buffer.

Usage

cbuf(b, v, e)

Arguments

b

The variable holding the current buffer content

v

The new valued to be added to b

e

The length of circular buffer

Value

The buffer b plus the element v minus the least recently added element


evoper documentation built on Jan. 28, 2026, 5:06 p.m.

Related to cbuf in evoper...