Function

GLibByteArraynew

Declaration [src]

GByteArray*
g_byte_array_new (
  void
)

Description [src]

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.