Function

GLibByteArrayset_size

Declaration

GByteArray*
g_byte_array_set_size (
  GByteArray* array,
  guint length
)

Description

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

Parameters

array An array of guint8
 

A GByteArray.

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

The new size of the GByteArray.

Return value

Returns: An array of guint8
 

The GByteArray.

 The data is owned by the called function.