code: public final void reset(boolean resetChunkSize)
      {
          firstChunk = null;
          lastChunk = null;
          totalCharsInList = 0;
          totalCharsInDynamicChunks = -1;
          sizeAtLeast = -1;
          if (resetChunkSize)
          {
              chunkSize = firstChunkSize;
              totalChunkSize = 0;
          }
          allocBuffer = new AllocatedBuffer(chunkSize);
          dynamicChunkMap = new HashMap<StreamCharBufferKey, StreamCharBufferSubChunk>();
      }
docs: resets the state of this buffer (empties it)
  
  @param resetChunkSize