Skip to main content

parse

Function parse 

Source
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.