public HashKeyIndex(AbstractBufferedReader reader, Guid? guid) { _guid = guid; _subId = reader.ReadVInt64(); _generation = reader.ReadVInt64(); _keyLen = reader.ReadVUInt32(); }
public FileKeyIndex(AbstractBufferedReader reader) { _generation = reader.ReadVInt64(); _trLogFileId = reader.ReadVUInt32(); _trLogOffset = reader.ReadVUInt32(); _keyValueCount = (long) reader.ReadVUInt64(); }
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; }
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; }
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())); } }
public FilePureValues(AbstractBufferedReader reader) { _generation = reader.ReadVInt64(); }
public FilePureValuesWithId(AbstractBufferedReader reader) { _subId = reader.ReadVInt64(); _generation = reader.ReadVInt64(); }
public FileTransactionLog(AbstractBufferedReader reader) { _generation = reader.ReadVInt64(); _previousFileId = (uint) reader.ReadVInt32(); }
public FileHashIndex(AbstractBufferedReader reader) { _generation = reader.ReadVInt64(); _keySize = (int) reader.ReadVUInt32(); _keyValueCount = (long)reader.ReadVUInt64(); }
public FilePureValuesWithId(AbstractBufferedReader reader, Guid? guid) { _guid = guid; _subId = reader.ReadVInt64(); _generation = reader.ReadVInt64(); }