Parses the descriptors present in buffer and returns them as an array.
Note: The data provided in buffer will not be copied.
descriptors to parse
Size of buffer
an array of the parsed descriptors or NULL if there was an error. Release with g_array_unref when done with it.
Parses the descriptors present in buffer and returns them as an array.
Note: The data provided in buffer will not be copied.