Method

FwupdPluginInputStreamas_g_input_stream

since: 2.1.7

Declaration [src]

GInputStream*
fu_input_stream_as_g_input_stream (
  FuInputStream* stream
)

Description [src]

Creates a GInputStream adapter that delegates all reads and seeks to stream. Use this when a GLib or external API requires a GInputStream.

Available since: 2.1.7

Return value

Type: GInputStream

A GInputStream.

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