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

SkipVInt32() public method

public SkipVInt32 ( ) : void
return void
        public void SkipVInt32()
        {
            var res = ReadVInt64();
            if (res > int.MaxValue || res < int.MinValue) throw new InvalidDataException(
                $"Skipping VInt32 overflowed with {res}");
        }

Usage Example

示例#1
0
 internal static void SkipHeader(AbstractBufferedReader reader)
 {
     FileCollectionWithFileInfos.SkipHeader(reader);
     reader.SkipUInt8(); // type of file
     reader.SkipVInt64(); // generation
     reader.SkipVInt32(); // previous file id
 }
All Usage Examples Of BTDB.StreamLayer.AbstractBufferedReader::SkipVInt32