Exemple #1
0
 private void  SkipField(bool binary, bool compressed, int toRead, IState state)
 {
     if (format >= FieldsWriter.FORMAT_VERSION_UTF8_LENGTH_IN_BYTES || binary || compressed)
     {
         fieldsStream.Seek(fieldsStream.FilePointer(state) + toRead, state);
     }
     else
     {
         // We need to skip chars.  This will slow us down, but still better
         fieldsStream.SkipChars(toRead, state);
     }
 }