Function

GLibByteArraynew

Declaration

GByteArray*
g_byte_array_new (
  void
)

Description

Creates a new GByteArray with a reference count of 1.

Return value

Returns: An array of guint8
 

The new GByteArray.

 The caller of the function takes ownership of the data, and is responsible for freeing it.