/// <summary>Writes data to the I2C device.</summary> /// <param name="buffer">The buffer that contains the data to be written to the I2C device.</param> public void Write(ReadOnlySpan <byte> buffer) { _i2cMaster.Write(_slaveAddress, buffer); }