Returns the data at index i, or zero when out of bounds.
i
int operator [](int i) => i >= 0 && i < data.length ? data[i] : 0;