Skip to main content

Hi,

I do have a binary response of an image, i.e. “data:image/jpeg;base64,/9j/4AAQS ...”. In my app I convert this into a Buffer using `Buffer.from(response.content, 'binary');`. How do work with such binary data? My goal here is to save the binary into an image file. Any built-in actions to work with file system?

Thanks

Be the first to reply!