Parses a Data URI into decoded bytes plus MIME metadata.
Supports both base64 and URL-encoded payload variants.
Data URI input.
Decoded bytes, MIME type, and original encoding flag.
When the Data URI is malformed
Parses a Data URI into decoded bytes plus MIME metadata.
Supports both base64 and URL-encoded payload variants.