leveldb_iter_seek() private method

private leveldb_iter_seek ( IntPtr iterator, byte key, int length ) : void
iterator System.IntPtr
key byte
length int
return void
Exemplo n.º 1
0
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is Valid() after this call iff the source contains
 /// an entry that comes at or past target.
 /// </summary>
 public void Seek(int key)
 {
     LevelDbInterop.leveldb_iter_seek(Handle, ref key, 4);
     Throw();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is Valid() after this call iff the source contains
 /// an entry that comes at or past target.
 /// </summary>
 public void Seek(byte[] key)
 {
     LevelDbInterop.leveldb_iter_seek(Handle, key, key.Length);
     Throw();
 }