Example #1
0
 private void Reinitialize()
 {
     endOfFile        = false;
     lineBufferCount  = 0;
     lineBufferLastNL = 0;
     isFirstChar      = true;
     cache.Reset();
     encoding = null;
     ChangeEncoding(originalEncoding);
     canRestart = restartable;
 }
Example #2
0
 private void Reinitialize()
 {
     parseStart   = 0;
     parseEnd     = 0;
     rawEndOfFile = false;
     SetNewEncoding(originalEncoding);
     encodingChanged = false;
     readFileOffset  = 0;
     readCurrent     = 0;
     readEnd         = 0;
     pushChunkBuffer = null;
     pushChunkStart  = 0;
     pushChunkCount  = 0;
     pushChunkUsed   = 0;
     if (restartCache != null)
     {
         restartCache.Reset();
     }
     restarting = false;
     endOfFile  = false;
 }