Function
FwupdPlugincommon_sum16w_bytes
Declaration [src]
guint16
fu_common_sum16w_bytes (
GBytes* blob,
FuEndianType endian
)
Description [src]
Returns the arithmetic sum of all bytes in blob
, adding them one word at a time.
The caller must ensure that the size of blob
is a multiple of 2.
Available since: | 1.7.3 |
Parameters
blob |
GBytes |
A |
|
The data is owned by the caller of the function. | |
endian |
FuEndianType |
An endian type, e.g. |