ReadVInt64() 공개 메소드

public ReadVInt64 ( ) : long
리턴 long
예제 #1
0
파일: HashKeyIndex.cs 프로젝트: Bobris/BTDB
 public HashKeyIndex(AbstractBufferedReader reader, Guid? guid)
 {
     _guid = guid;
     _subId = reader.ReadVInt64();
     _generation = reader.ReadVInt64();
     _keyLen = reader.ReadVUInt32();
 }
예제 #2
0
 public FileKeyIndex(AbstractBufferedReader reader)
 {
     _generation = reader.ReadVInt64();
     _trLogFileId = reader.ReadVUInt32();
     _trLogOffset = reader.ReadVUInt32();
     _keyValueCount = (long) reader.ReadVUInt64();
 }
예제 #3
0
 public FileKeyIndex(AbstractBufferedReader reader, Guid? guid, bool withCommitUlong)
 {
     _guid = guid;
     _generation = reader.ReadVInt64();
     _trLogFileId = reader.ReadVUInt32();
     _trLogOffset = reader.ReadVUInt32();
     _keyValueCount = (long)reader.ReadVUInt64();
     _commitUlong = withCommitUlong ? reader.ReadVUInt64() : 0;
 }
예제 #4
0
파일: FileKeyIndex.cs 프로젝트: Bobris/BTDB
 public FileKeyIndex(AbstractBufferedReader reader, Guid? guid, bool withCommitUlong, bool modern)
 {
     _guid = guid;
     _generation = reader.ReadVInt64();
     _trLogFileId = reader.ReadVUInt32();
     _trLogOffset = reader.ReadVUInt32();
     _keyValueCount = (long)reader.ReadVUInt64();
     _commitUlong = withCommitUlong ? reader.ReadVUInt64() : 0;
     _compressionType = modern ? (KeyIndexCompression)reader.ReadUInt8() : KeyIndexCompression.Old;
 }
예제 #5
0
 public EnumTypeDescriptor(ITypeDescriptorCallbacks typeSerializers, AbstractBufferedReader reader)
 {
     _typeSerializers = typeSerializers;
     _name = reader.ReadString();
     var header = reader.ReadVUInt32();
     _signed = (header & 1) != 0;
     _flags = (header & 2) != 0;
     var count = header >> 2;
     _pairs = new List<KeyValuePair<string, ulong>>((int)count);
     for (int i = 0; i < count; i++)
     {
         _pairs.Add(_signed
                        ? new KeyValuePair<string, ulong>(reader.ReadString(), (ulong)reader.ReadVInt64())
                        : new KeyValuePair<string, ulong>(reader.ReadString(), reader.ReadVUInt64()));
     }
 }
예제 #6
0
 public FilePureValues(AbstractBufferedReader reader)
 {
     _generation = reader.ReadVInt64();
 }
예제 #7
0
 public FilePureValuesWithId(AbstractBufferedReader reader)
 {
     _subId = reader.ReadVInt64();
     _generation = reader.ReadVInt64();
 }
예제 #8
0
 public FileTransactionLog(AbstractBufferedReader reader)
 {
     _generation = reader.ReadVInt64();
     _previousFileId = (uint) reader.ReadVInt32();
 }
예제 #9
0
 public FileHashIndex(AbstractBufferedReader reader)
 {
     _generation = reader.ReadVInt64();
     _keySize = (int) reader.ReadVUInt32();
     _keyValueCount = (long)reader.ReadVUInt64();
 }
예제 #10
0
 public FilePureValuesWithId(AbstractBufferedReader reader, Guid? guid)
 {
     _guid = guid;
     _subId = reader.ReadVInt64();
     _generation = reader.ReadVInt64();
 }