Example #1
0
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is IsValid() 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(this.Handle, key, (IntPtr)key.Length);
     this.Throw();
 }
Example #2
0
 /// <summary>
 /// Position at the first key in the source that at or past target
 /// The iterator is IsValid() 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, (IntPtr)key.Length);
     Throw();
 }
Example #3
0
 public void Seek(Slice target)
 {
     LevelDBInterop.leveldb_iter_seek(Handle, target.buffer, (IntPtr)target.buffer.Length);
 }
Example #4
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(this.Handle, ref key, 4);
     Throw();
 }