operator []= method Null safety

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

Set a byte in the buffer relative to the current read position.

Implementation

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