Synchronously converts data to a Base64 Data URL.
This function is truly synchronous and works in both Node.js and browser environments.
The input data. Can be a UTF-8 string, a Uint8Array, or an ArrayBuffer.
The MIME type for the Data URL.
A fully formed Base64 Data URL string.
Synchronously converts data to a Base64 Data URL.
This function is truly synchronous and works in both Node.js and browser environments.