Set a buffer element relative to the current position.
void operator []=(int index, int value) => buffer[offset + index] = value;