How to convert base64 to stream on node

requirements: interface base64 images on node, and then upload base64 to other servers. Upload base64 in the form of stream using request module, and convert the module using streamifier to stream submission but return
"Processing of multipart/form-data request failed. Stream ended unexpectedly"

the code is as follows:

var file = "base64"
var imgData = file.replace(/^data:image\/\w+;base64,/, ""); 
var dataBuffer = new Buffer(imgData, "base64");
var imgBuffer = streamifier.createReadStream(dataBuffer) 
request.post({ url:httpurl,  formData:{"file":imgBuffer ,impl,type,dataType}},  function(error, response, body) {
                if (!error && response.statusCode == 200) {
                   console.log(body) //  
                   "Processing of multipart/form-data request failed. Stream ended unexpectedly" 
                   res.json({status:response.statusCode})
                }
            })
Jan.29,2022

base64 decode is the stream,base64 that brings stream encode

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eac1cf-47e83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eac1cf-47e83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?