ByteArray.steal

Frees the data in the array and resets the size to zero, while the underlying array is preserved for use elsewhere and returned to the caller.

class ByteArray
ubyte*
steal
(
out size_t len
)

Parameters

len size_t

pointer to retrieve the number of elements of the original array

Return Value

Type: ubyte*

the element data, which should be freed using g_free().

Meta

Since

2.64