BTDB.StreamLayer.AbstractBufferedReader.SkipVUInt32 C# (CSharp) Method

SkipVUInt32() public method

public SkipVUInt32 ( ) : void
return void
        public void SkipVUInt32()
        {
            var res = ReadVUInt64();
            if (res > uint.MaxValue) throw new InvalidDataException($"Skipping VUInt32 overflowed with {res}");
        }

Usage Example

Esempio n. 1
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
 }
All Usage Examples Of BTDB.StreamLayer.AbstractBufferedReader::SkipVUInt32