get_data


Description:

[ CCode ( array_length_pos = 0.1 , array_length_type = "gsize" ) ]
public unowned uint8[] get_data ()

Get the raw value in the attribute.

This is useful from scripting languages. C callers will generally access the Attribute struct directly.

This function will null if the attribute contains empty or invalid data. The returned data must not be modified and is only valid as long as this attribute.

Parameters:

this

an attribute

length

the length of the returned data

Returns:

the value data or null




2022 vala-language.org