示例#1
0
 public void Dispose()
 {
     if (_parser != null)
         _parser.Dispose();
     Instance = null;
 }
示例#2
0
 public static void NewContext(FTBufferRead bufferReader)
 {
     if (Instance == null)
     {
         Instance = new FTStreamParseContext();
         Instance._bufferReader = bufferReader;
         Instance._parser = new FTStreamReaderForPage(bufferReader);
     }
 }