Function

GLibByteArrayremove_index

Declaration

GByteArray*
g_byte_array_remove_index (
  GByteArray* array,
  guint index_
)

Description

Removes the byte at the given index from a GByteArray. The following bytes are moved down one place.

Parameters

array An array of guint8
 

A GByteArray.

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

The index of the byte to remove.

Return value

Returns: An array of guint8
 

The GByteArray.

 The data is owned by the called function.