lib/writable.js
function ZWritable(options) {
	if(options) {
		if(options.writableObjectMode) {
			options.objectMode = true;
		}
		//Add support for iojs simplified stream constructor
		if(typeof options.write === 'function') {
			this._write = options.write;
		}
		if(typeof options.flush === 'function') {
			this._flush = options.flush;
		}
	}
	Transform.call(this, options);
	streamMixins.call(this, Transform.prototype, options);
	writableMixins.call(this, options);
	
}
function ZWritable(options) {
	if(options) {
		if(options.writableObjectMode) {
			options.objectMode = true;
		}
		//Add support for iojs simplified stream constructor
		if(typeof options.write === 'function') {
			this._write = options.write;
		}
		if(typeof options.flush === 'function') {
			this._flush = options.flush;
		}
	}
	Transform.call(this, options);
	streamMixins.call(this, Transform.prototype, options);
	writableMixins.call(this, options);
	
}
function ZWritable ( options ) { if ( options ) { if ( options . writableObjectMode ) { options . objectMode = true ; } //Add support for iojs simplified stream constructor if ( typeof options . write === 'function' ) { this . _write = options . write ; } if ( typeof options . flush === 'function' ) { this . _flush = options . flush ; } } Transform . call ( this , options ) ; streamMixins . call ( this , Transform . prototype , options ) ; writableMixins . call ( this , options ) ; }
ZWritable implements the Writable stream interface with the _write function.
ZWritable also accepts a `_flush` function to facilitate cleanup.

@class ZWritable
@constructor
@extends Transform
@uses _Stream
@uses _Writable
@param {Object} [options] - Stream options
ZWritable implements the Writable stream interface with the _write function . ZWritable also accepts a _flush function to facilitate cleanup .