pub fn parse_svg_bytes(bytes: &[u8]) -> Result<SvgDocument, SvgParseError>Expand description
Parse raw SVG bytes (plain or gzip-compressed) into an SvgDocument.
All parsing logic lives here; the asset loader only feeds it file bytes.
pub fn parse_svg_bytes(bytes: &[u8]) -> Result<SvgDocument, SvgParseError>Parse raw SVG bytes (plain or gzip-compressed) into an SvgDocument.
All parsing logic lives here; the asset loader only feeds it file bytes.