Descriptor.parseDescriptors

Parses the descriptors present in buffer and returns them as an array.

Note: The data provided in buffer will not be copied.

class Descriptor
static
parseDescriptors
(
ubyte* buffer
,
size_t bufLen
)

Parameters

buffer ubyte*

descriptors to parse

bufLen size_t

Size of buffer

Return Value

Type: PtrArray

an array of the parsed descriptors or NULL if there was an error. Release with g_array_unref when done with it.