function onReaderClosed() {
      if (!reading) {
        readableClosed();
      }
    }
// closed so that we write all the data before shutdown.
closed so that we write all the data before shutdown.
closed so that we write all the data before shutdown .
function onReaderClosed() {
      if (!reading) {
        readableClosed();
      }
    }
function onReaderClosed ( ) { if ( ! reading ) { readableClosed ( ) ; } }
closed so that we write all the data before shutdown.
closed so that we write all the data before shutdown .