AcTools.LapTimes.LevelDbUtils.Iterator.KeyAsInt C# (CSharp) Метод

KeyAsInt() публичный Метод

Return the key for the current entry. REQUIRES: Valid()
public KeyAsInt ( ) : int
Результат int
        public int KeyAsInt() {
            int length;
            var key = LevelDbInterop.leveldb_iter_key(Handle, out length);
            Throw();

            if (length != 4) throw new Exception("Key is not an integer");
            return Marshal.ReadInt32(key);
        }