Struct data_url::DataUrl [] [src]

pub struct DataUrl<'a> { /* fields omitted */ }

Methods

impl<'a> DataUrl<'a>
[src]

[src]

https://fetch.spec.whatwg.org/#data-url-processor but starting from a string rather than a parsed Url, to avoid extra string copies.

[src]

[src]

Streaming-decode the data URL’s body to write_body_bytes, and return the URL’s fragment identifier if it has one.

[src]

Return the decoded body, and the URL’s fragment identifier if it has one.