/// <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(); }
/// <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(); }
public void Seek(Slice target) { LevelDBInterop.leveldb_iter_seek(Handle, target.buffer, (IntPtr)target.buffer.Length); }
/// <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(); }