reset(w) {
        this.err = null;
        this.usedBufferBytes = 0;
        this.writer = w;
    }
/** Discards any unflushed buffered data, clears any error, and
   * resets buffer to write its output to w.
   */
Discards any unflushed buffered data, clears any error, and
resets buffer to write its output to w.
Discards any unflushed buffered data clears any error and resets buffer to write its output to w .
reset(w) {
        this.err = null;
        this.usedBufferBytes = 0;
        this.writer = w;
    }
reset ( w ) { this . err = null ; this . usedBufferBytes = 0 ; this . writer = w ; }
Discards any unflushed buffered data, clears any error, and
 resets buffer to write its output to w.
Discards any unflushed buffered data clears any error and resets buffer to write its output to w .