Buckets:
| /*! simple-concat. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ | |
| module.exports = function (stream, cb) { | |
| var chunks = [] | |
| stream.on('data', function (chunk) { | |
| chunks.push(chunk) | |
| }) | |
| stream.once('end', function () { | |
| if (cb) cb(null, Buffer.concat(chunks)) | |
| cb = null | |
| }) | |
| stream.once('error', function (err) { | |
| if (cb) cb(err) | |
| cb = null | |
| }) | |
| } | |
Xet Storage Details
- Size:
- 392 Bytes
- Xet hash:
- 47f2f66e6c01402998b530a04b8fedb9a4ee19f14217d96aea4ecbcd7c1366a0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.