I think they're both the same binary buffers, but I want to know if they're doing a different performance.
let paramS3 = {
Bucket: "sopt24",
Key: dateString+req.file.originalname,
Body: new Buffer(req.file.buffer, "binary")
// or
// Body: req.file.buffer
};
Those...
console.log( req.file.buffer )
console.log( new Buffer(req.file.buffer, "binary") )
... seem to give exactly the same result.