FwupdPlugin.Cabinet.export

### Method

# FwupdPlugin Cabinetexport

#### Declaration [src]

    GBytes*
    fu_cabinet_export (
      FuCabinet* self,
      FuCabinetExportFlags flags,
      GError** error
    )

#### Description [src]

Exports the cabinet archive.

Available since: | 1.6.0

#### Parameters

`flags` | `FuCabinetExportFlags`
| Export flags, e.g. `FU_CABINET_EXPORT_FLAG_NONE`.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `GBytes`
| A data blob.
| The caller of the method takes ownership of the data, and is responsible for freeing it.