/// <summary>Reads data from the I2C device.</summary> /// <param name="flags">flags</param> /// <param name="buffer">The buffer to read the data from the I2C device.</param> public void ReadEx(I2cMasterFlags flags, Span <byte> buffer) { _i2cMaster.ReadEx(_slaveAddress, flags, buffer); }