function State(writer) {
        /**
         * Current head.
         * @type {Writer.Op}
         */
        this.head = writer.head;

        /**
         * Current tail.
         * @type {Writer.Op}
         */
        this.tail = writer.tail;

        /**
         * Current buffer length.
         * @type {number}
         */
        this.len = writer.len;

        /**
         * Next state.
         * @type {State|null}
         */
        this.next = writer.states;
      }
/**
       * Constructs a new writer state instance.
       * @classdesc Copied writer state.
       * @memberof Writer
       * @constructor
       * @param {Writer} writer Writer to copy state from
       * @ignore
       */
Constructs a new writer state instance.
@classdesc Copied writer state.
@memberof Writer
@constructor
@param {Writer} writer Writer to copy state from
@ignore
Constructs a new writer state instance . @classdesc Copied writer state . @memberof Writer @constructor @param { Writer } writer Writer to copy state from @ignore
function State(writer) {
        this.head = writer.head;
        this.tail = writer.tail;
        this.len = writer.len;
        this.next = writer.states;
      }
function State ( writer ) { this . head = writer . head ; this . tail = writer . tail ; this . len = writer . len ; this . next = writer . states ; }
Constructs a new writer state instance.
Constructs a new writer state instance .
/**
         * Current head.
         * @type {Writer.Op}
         */ /**
         * Current tail.
         * @type {Writer.Op}
         */ /**
         * Current buffer length.
         * @type {number}
         */ /**
         * Next state.
         * @type {State|null}
         */