uriDecodeDataUri

fnglib.bytes.Bytes uriDecodeDataUri(string uri, out string contentType)

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

Parameters

uria data URI, in string form
contentTypelocation to store content type

Returns

a #GBytes with the contents of uri,

or null if uri is not a valid data URI