Function

GLibByteArraynew

Declaration

GByteArray*
g_byte_array_new (
  void
)

Description

Creates a new GByteArray with a reference count of 1.

Return value

Type: An array of guint8

The new GByteArray.

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