function attachDictionaryChunk(s, data) {
    if (s.runningState != 1) {
      throw "State MUST be freshly initialized";
    }
    if (s.cdNumChunks == 0) {
      s.cdChunks = new Array(16);
      s.cdChunkOffsets = new Int32Array(16);
      s.cdBlockBits = -1;
    }
    if (s.cdNumChunks == 15) {
      throw "Too many dictionary chunks";
    }
    s.cdChunks[s.cdNumChunks] = data;
    s.cdNumChunks++;
    s.cdTotalSize += data.length;
    s.cdChunkOffsets[s.cdNumChunks] = s.cdTotalSize;
  }
@param {!State} s
@param {!Int8Array} data
@return {void}