Fwupd.Client.download_bytes_finish

### Method

# Fwupd Clientdownload_bytes_finish

#### Declaration [src]

    GBytes*
    fwupd_client_download_bytes_finish (
      FwupdClient* self,
      GAsyncResult* res,
      GError** error
    )

#### Description [src]

Gets the result of `fwupd_client_download_bytes_async()`.

Available since: | 1.5.0

#### Parameters

`res` | `GAsyncResult`
| The asynchronous result.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `GBytes`
| Downloaded data, or `NULL` for error.
| The caller of the method takes ownership of the data, and is responsible for freeing it.