TimeSeriesBuffer constructor
Keeps at most rawCapacity raw points; evicted points fold into buckets
bucketSizeMs milliseconds wide. Both must be positive.
Audited: 2026-06-12 11:26 EDT
Implementation
TimeSeriesBuffer({required int rawCapacity, required int bucketSizeMs})
: _rawCapacity = _validatedRawCapacity(rawCapacity, bucketSizeMs),
_bucketSizeMs = bucketSizeMs;