A simple and efficient implementation of a Circular Buffer (also known as a Ring Buffer) for .NET. This data structure is ideal for managing fixed-size data collections, such as logs, streaming data, sensor readings, or task queues. Supports thread-safe operations, automatic overwriting of old data, and provides utility methods like ToArray, Peek, and TryDequeue.
License
—
Deps
0
Install Size
—
Vulns
✓ 0
Published
Dec 6, 2024
$ dotnet add package CircularBufferLibNo README available.