Function rsvg::io::acquire_data

source ·
pub fn acquire_data(
    aurl: &AllowedUrl,
    cancellable: Option<&Cancellable>
) -> Result<BinaryData, IoError>
Expand description

Reads the entire contents pointed by an URL. The url can be a data: URL or a plain URI.