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