@arolariu/website / sites/arolariu.ro/src/lib/utils.server / convertBase64ToBlob
Function: convertBase64ToBlob()
convertBase64ToBlob(
base64String):Promise<Blob>
Defined in: lib/utils.server.ts:42
This async function converts a base64 string to a Blob object. It uses the atob function to decode the base64 string and create a Blob object from it.
Parameters
base64String
string
The base64 string to convert
Returns
Promise<Blob>
The Blob object created from the base64 string