public void SkipVUInt64()
{
NeedOneByteInBuffer();
var l = PackUnpack.LengthVUInt(Buf, Pos);
if (Pos + l <= End)
{
Pos += l;
}
else
{
do
{
Pos++;
NeedOneByteInBuffer();
l--;
} while (l > 1);
Pos++;
}
}
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 }