setContent method

void setContent(
  1. int index,
  2. int value
)

Sets the packed content of cell index.

Implementation

void setContent(int index, int value) {
  _data[index * _cellSize + _cellContent] = value;
}