Function

Soup-3.0Soupuri_decode_data_uri

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

    Parameters

    • uri: string

      a data URI, in string form

    Returns [GLib.Bytes, string]

    a GLib.Bytes with the contents of uri, or null if uri is not a valid data URI