Method

FwupdPluginFirmwareget_stream

since: 2.0.0

Declaration [src]

FuInputStream*
fu_firmware_get_stream (
  FuFirmware* self
  GError** error
)

Description [src]

Gets the input stream which was used to parse the firmware.

Available since: 2.0.0

Return value

Type: FuInputStream

A FuInputStream, or NULL if the payload has never been set.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.