NULL if an error occurs.Handle.newFromData
rsvg.handle.Handle newFromData(ubyte[] data)Loads the SVG specified by data. Note that this function creates an [rsvg.handle.Handle] without a base URL, and without any [rsvg.types.HandleFlags]. If you need these, use [rsvg.handle.Handle.newFromStreamSync] instead by creating a [gio.memory_input_stream.MemoryInputStream] from your data.
Parameters
data | The SVG data |
Returns
A [rsvg.handle.Handle] or
Throws
[ErrorWrap]