load method

void load(
  1. List<double> newData
)

Loads the entire float array to the ring buffer. If the float array is longer than ring buffer's capacity, samples with lower indicies in the array will be ignored.

Implementation

void load(List<double> newData) {
  loadOffset(newData, 0, newData.length);
}