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