Constructor

FwupdPluginMsgpackItemnew_binary_stream

since: 2.0.0

Declaration [src]

FuMsgpackItem*
fu_msgpack_item_new_binary_stream (
  FuInputStream* stream
)

Description [src]

Creates a new msgpack item.

Available since: 2.0.0

Parameters

stream

Type: FuInputStream

A FuInputStream.

The data is owned by the caller of the function.

Return value

Type: FuMsgpackItem

A FuMsgpackItem.

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