pub fn parse(uri_str: &str) -> Result<DataUri>
Parse a data: URI into its DataUri components.
data:
DataUri
Accepts both data:,hello and data:image/png;base64,iVBORw... shapes. Rejects URIs that lack the mandatory , separator.
data:,hello
data:image/png;base64,iVBORw...
,