chrome.js
function (err, length, data) {
    if (err) {
      if (self.autoClose) {
        self.destroy()
      }
      self.emit('error', err)
    }
    self.push(data)
    // self.once('finish', self.close)
  }
function (err, length, data) {
    if (err) {
      if (self.autoClose) {
        self.destroy()
      }
      self.emit('error', err)
    }
    self.push(data)
    // self.once('finish', self.close)
  }
function ( err , length , data ) { if ( err ) { if ( self . autoClose ) { self . destroy ( ) } self . emit ( 'error' , err ) } self . push ( data ) // self.once('finish', self.close) }
Sketchy implementation that pushes the whole file to the stream But maybe fd has a size that we can iterate to?
Sketchy implementation that pushes the whole file to the stream But maybe fd has a size that we can iterate to?