GT2/GT2-iOS/node_modules/minipass/bench/lib/extend-transform.js

12 lines
230 B
JavaScript

'use strict'
const stream = require('stream')
module.exports = class ExtendTransform extends stream.Transform {
constructor (opts) {
super(opts)
}
_transform (data, enc, done) {
this.push(data, enc)
done()
}
}