uriDecodeDataUri

Decodes the given data URI and returns its contents and content_type.

uriDecodeDataUri
(
string uri
,
out string contentType
)

Parameters

uri string

a data URI, in string form

contentType string

location to store content type

Return Value

Type: glib.bytes.Bytes

a #GBytes with the contents of uri, or null if uri is not a valid data URI