Function

FwupdPlugincoswid_write_tag_bytestring

since: 1.9.17

Declaration [src]

void
fu_coswid_write_tag_bytestring (
  FuCborItem* item,
  FuCoswidTag tag,
  const guint8* buf,
  gsize bufsz
)

Description [src]

Writes a bytestring tag value.

Available since: 1.9.17

Parameters

item

Type: FuCborItem

A FuCborItem.

The data is owned by the caller of the function.
tag

Type: FuCoswidTag

A FuCoswidTag, e.g. FU_COSWID_TAG_PAYLOAD.

buf

Type: const guint8*

A buffer of data.

The data is owned by the caller of the function.
bufsz

Type: gsize

Sizeof buf.