Handle.write

Loads the next count bytes of the image. This will return TRUE if the data was loaded successful, and FALSE if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. If FALSE is returned, error will be set to an error from the RsvgError domain. Errors from GIOErrorEnum are also possible.

class Handle
bool
write
(
char[] buf
)

Parameters

buf char[]

pointer to svg data

Return Value

Type: bool

TRUE on success, or FALSE on error

Throws

GException on failure.