Description GByteArray is based on GArray, to provide arrays of bytes which grow automatically as elements are added. To create a new GByteArray use g_byte_array_new(). To add elements to a GByteArray, use g_byte_array_append(), and g_byte_array_prepend(). To set the size of a GByteArray, use g_byte_array_set_size(). To free a GByteArray, use g_byte_array_free().