Constructor
FwupdPluginPartialInputStreamnew
since: 2.0.0
Declaration [src]
GInputStream*
fu_partial_input_stream_new (
GInputStream* stream,
gsize offset,
gsize size
)
Description [src]
Creates a partial input stream where content is read from the donor stream.
Available since: 2.0.0
Parameters
stream
-
Type:
GInputStream
A base
GInputStream
.The data is owned by the caller of the function. offset
-
Type:
gsize
Offset into
stream
. size
-
Type:
gsize
Size of
stream
in bytes.
Return value
Type: GInputStream
A FuPartialInputStream
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |