[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.14" ) ]
public Handle.from_data (uint8[] data) throws Error
Loads the SVG specified by data
.
Note that this function creates an [[email protected]] without a base URL, and without any [[email protected]]. If you need these, use [[email protected]_from_stream_sync] instead by creating a [[email protected]] from your data.
data |
The SVG data |
data_len |
The length of |
A [[email protected]] or `NULL` if an error occurs. |