pub fn parse(input: &str) -> Result<DataUrl, InvalidDataContentError>Expand description
Parses a data: URL.
ยงErrors
Returns InvalidDataContentError when the scheme is missing, the URL
has no comma, or a base64 payload does not decode.
pub fn parse(input: &str) -> Result<DataUrl, InvalidDataContentError>Parses a data: URL.
Returns InvalidDataContentError when the scheme is missing, the URL
has no comma, or a base64 payload does not decode.