Function

FwupdPlugincommon_sum8_bytes

since: 1.7.3

Declaration [src]

guint8
fu_common_sum8_bytes (
  GBytes* blob
)

Description [src]

Returns the arithmetic sum of all bytes in blob.

Available since: 1.7.3

Parameters

blob

Type: GBytes

A GBytes.

The data is owned by the caller of the function.

Return value

Type: guint8

Sum value.