operator []= method

void operator []=(
  1. int index,
  2. int value
)

Set a buffer element relative to the current position.

Implementation

operator []=(int index, int value) => buffer[offset + index] = value;