SkipVUInt64() public method

public SkipVUInt64 ( ) : void
return void
Example #1
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     FileCollectionWithFileInfos.SkipHeader(reader);
     var withCommitUlong = reader.ReadUInt8() == (byte)KVFileType.KeyIndexWithCommitUlong;
     reader.SkipVInt64(); // generation
     reader.SkipVUInt32(); // trLogFileId
     reader.SkipVUInt32(); // trLogOffset
     reader.SkipVUInt64(); // keyValueCount
     if (withCommitUlong) reader.SkipVUInt64(); // commitUlong
 }
Example #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();
 }
Example #3
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     reader.SkipBlock(DiskChunkCache.MagicStartOfFile.Length + 1); // magic + type of file
     reader.SkipVInt64(); // generation
     reader.SkipVUInt32(); // keySize
     reader.SkipVUInt64(); // keyValueCount
 }
Example #4
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     reader.SkipBlock(FileCollectionWithFileInfos.MagicStartOfFile.Length + 1); // magic + type of file
     reader.SkipVInt64(); // generation
     reader.SkipVUInt32(); // trLogFileId
     reader.SkipVUInt32(); // trLogOffset
     reader.SkipVUInt64(); // keyValueCount
 }