BTDB.KVDBLayer.FileKeyIndex.FileKeyIndex C# (CSharp) Method

FileKeyIndex() public method

public FileKeyIndex ( AbstractBufferedReader reader, System.Guid guid, bool withCommitUlong, bool modern ) : System
reader BTDB.StreamLayer.AbstractBufferedReader
guid System.Guid
withCommitUlong bool
modern bool
return System
        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;
        }

Same methods

FileKeyIndex::FileKeyIndex ( long generation, System.Guid guid, uint trLogFileId, uint trLogOffset, long keyCount, ulong commitUlong, KeyIndexCompression compression ) : System