FwupdPlugin.I2cDevice.read

### Method

# FwupdPlugin I2cDeviceread

#### Declaration [src]

    gboolean
    fu_i2c_device_read (
      FuI2cDevice* self,
      guint8* buf,
      gsize bufsz,
      GError** error
    )

#### Description [src]

Read multiple bytes from the I²C device.

Available since: | 1.8.2

#### Parameters

`buf` | `guint8*`
| Data.
| The argument will be set by the function.
`bufsz` | `gsize`
| Size of `data`.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.