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

Type: An array of guint8

A GByteArray.

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

Type: guint

The index of the byte to remove.

Return value

Type: An array of guint8

The GByteArray.

The data is owned by the called function.