Function

FwupdPluginbyte_array_set_size

since: 1.5.0

Declaration [src]

void
fu_byte_array_set_size (
  GByteArray* array,
  guint length
)

Description [src]

Sets the size of the GByteArray, expanding it with NULs if necessary.

Available since: 1.5.0

Parameters

array

Type: An array of guint8

A GByteArray.

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

Type: guint

The new size of the GByteArray.