UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

48 lines (23 loc) 674 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [CircularBuffer](./rc-js-util.circularbuffer.md) &gt; [(constructor)](./rc-js-util.circularbuffer._constructor_.md) ## CircularBuffer.(constructor) Constructs a new instance of the `CircularBuffer` class **Signature:** ```typescript protected constructor(values: TValue[]); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> values </td><td> TValue\[\] </td><td> </td></tr> </tbody></table>