Function

FwupdPluginbyte_array_append_uint32

since: 1.3.1

Declaration [src]

void
fu_byte_array_append_uint32 (
  GByteArray* array,
  guint32 data,
  FuEndianType endian
)

Description [src]

Adds a 32 bit integer to a byte array.

Available since: 1.3.1

Parameters

array

Type: An array of guint8

A GByteArray.

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

Type: guint32

Value.

endian

Type: FuEndianType

Endian type, e.g. #G_LITTLE_ENDIAN.