BytesIcon


Description:

[ CCode ( has_construct_function = false , type = "GIcon*" ) ]
public BytesIcon (Bytes bytes)

Creates a new icon for a bytes.

This cannot fail, but loading and interpreting the bytes may fail later on (for example, if load is called) if the image is invalid.

Parameters:

bytes

a Bytes.

Returns:

a Icon for the given bytes.




2022 vala-language.org