SkipUInt8() публичный Метод

public SkipUInt8 ( ) : void
Результат void
Пример #1
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     FileCollectionWithFileInfos.SkipHeader(reader);
     reader.SkipUInt8(); // type of file
     reader.SkipVInt64(); // generation
     reader.SkipVInt32(); // previous file id
 }
Пример #2
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     FileCollectionWithFileInfos.SkipHeader(reader);
     var type = (KVFileType)reader.ReadUInt8();
     var withCommitUlong = type == KVFileType.KeyIndexWithCommitUlong || type == KVFileType.ModernKeyIndex;
     reader.SkipVInt64(); // generation
     reader.SkipVUInt32(); // trLogFileId
     reader.SkipVUInt32(); // trLogOffset
     reader.SkipVUInt64(); // keyValueCount
     if (withCommitUlong) reader.SkipVUInt64(); // commitUlong
     if (type == KVFileType.ModernKeyIndex) reader.SkipUInt8();
 }