build/gpf-debug.js
function (stream, close) {
                this._stream = stream;
                if (typeof close === "function") {
                    this._close = close;
                }
                stream.on("error", this._onError.bind(this));
            }
function (stream, close) {
                this._stream = stream;
                if (typeof close === "function") {
                    this._close = close;
                }
                stream.on("error", this._onError.bind(this));
            }
function ( stream , close ) { this . _stream = stream ; if ( typeof close === "function" ) { this . _close = close ; } stream . on ( "error" , this . _onError . bind ( this ) ) ; }
Base class wrapping NodeJS streams

@param {Object} stream NodeJS stream object
@param {Function} [close] Close handler

@constructor gpf.node.BaseStream
@since 0.1.9
Base class wrapping NodeJS streams